Skip to main content

ICapabilityShortMethods

Trait ICapabilityShortMethods 

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

Provided Methods§

Source

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

.ctor(i16) overload

Source

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

Add(i32, i16) overload

Source

fn is_zero(self) -> bool

IsZero() overload

Source

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

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

Source

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

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: ICapabilityShort> ICapabilityShortMethods for __T

Available on crate feature app-capabilityshort only.