Skip to main content

ICapabilityIntMethods

Trait ICapabilityIntMethods 

Source
pub trait ICapabilityIntMethods: ICapabilityInt {
    // Provided methods
    fn ctor(self, value: impl Into<i32>) { ... }
    fn add(self, i: impl Into<i32>, v: impl Into<i32>) { ... }
    fn is_zero(self) -> bool { ... }
    fn write_to_stream(self, stream: impl Into<Stream_2>, v: impl Into<i32>) { ... }
    fn read_from_stream(self, stream: impl Into<Stream_2>) -> i32 { ... }
}

Provided Methods§

Source

fn ctor(self, value: impl Into<i32>)

.ctor(i32) overload

Source

fn add(self, i: impl Into<i32>, v: impl Into<i32>)

Add(i32, i32) overload

Source

fn is_zero(self) -> bool

IsZero() overload

Source

fn write_to_stream(self, stream: impl Into<Stream_2>, v: impl Into<i32>)

WriteToStream(crate::app::stream_2::Stream_2, i32) overload

Source

fn read_from_stream(self, stream: impl Into<Stream_2>) -> i32

ReadFromStream(crate::app::stream_2::Stream_2) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: ICapabilityInt> ICapabilityIntMethods for __T

Available on crate feature app-capabilityint only.