Skip to main content

IStream_NullStreamMethods

Trait IStream_NullStreamMethods 

Source
pub trait IStream_NullStreamMethods: IStream_NullStream {
Show 15 methods // Provided methods fn ctor(self) { ... } fn get_can_read(self) -> bool { ... } fn get_can_write(self) -> bool { ... } fn get_can_seek(self) -> bool { ... } fn get_length(self) -> i64 { ... } fn get_position(self) -> i64 { ... } fn set_position(self, value: impl Into<i64>) { ... } fn dispose(self, disposing: impl Into<bool>) { ... } fn flush(self) { ... } fn read( self, buffer: impl Into<Array<u8>>, offset: impl Into<i32>, count: impl Into<i32>, ) -> i32 { ... } fn read_byte(self) -> i32 { ... } fn write( self, buffer: impl Into<Array<u8>>, offset: impl Into<i32>, count: impl Into<i32>, ) { ... } fn write_byte(self, value: impl Into<u8>) { ... } fn seek(self, offset: impl Into<i64>, origin: impl Into<SeekOrigin>) -> i64 { ... } fn set_length(self, length: impl Into<i64>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn get_can_read(self) -> bool

get_CanRead() overload

Source

fn get_can_write(self) -> bool

get_CanWrite() overload

Source

fn get_can_seek(self) -> bool

get_CanSeek() overload

Source

fn get_length(self) -> i64

get_Length() overload

Source

fn get_position(self) -> i64

get_Position() overload

Source

fn set_position(self, value: impl Into<i64>)

set_Position(i64) overload

Source

fn dispose(self, disposing: impl Into<bool>)

Dispose(bool) overload

Source

fn flush(self)

Flush() overload

Source

fn read( self, buffer: impl Into<Array<u8>>, offset: impl Into<i32>, count: impl Into<i32>, ) -> i32

Read(::unity::Array<u8>, i32, i32) overload

Source

fn read_byte(self) -> i32

ReadByte() overload

Source

fn write( self, buffer: impl Into<Array<u8>>, offset: impl Into<i32>, count: impl Into<i32>, )

Write(::unity::Array<u8>, i32, i32) overload

Source

fn write_byte(self, value: impl Into<u8>)

WriteByte(u8) overload

Source

fn seek(self, offset: impl Into<i64>, origin: impl Into<SeekOrigin>) -> i64

Seek(i64, crate::system::io::seekorigin::SeekOrigin) overload

Source

fn set_length(self, length: impl Into<i64>)

SetLength(i64) 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: IStream_NullStream> IStream_NullStreamMethods for __T

Available on crate feature system-io-stream only.