Struct windows::Storage::Streams::IDataReader_Vtbl

#[repr(C)]
pub struct IDataReader_Vtbl {
Show 27 fields pub base__: IInspectable_Vtbl, pub UnconsumedBufferLength: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub UnicodeEncoding: unsafe extern "system" fn(_: *mut c_void, _: *mut UnicodeEncoding) -> HRESULT, pub SetUnicodeEncoding: unsafe extern "system" fn(_: *mut c_void, _: UnicodeEncoding) -> HRESULT, pub ByteOrder: unsafe extern "system" fn(_: *mut c_void, _: *mut ByteOrder) -> HRESULT, pub SetByteOrder: unsafe extern "system" fn(_: *mut c_void, _: ByteOrder) -> HRESULT, pub InputStreamOptions: unsafe extern "system" fn(_: *mut c_void, _: *mut InputStreamOptions) -> HRESULT, pub SetInputStreamOptions: unsafe extern "system" fn(_: *mut c_void, _: InputStreamOptions) -> HRESULT, pub ReadByte: unsafe extern "system" fn(_: *mut c_void, _: *mut u8) -> HRESULT, pub ReadBytes: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u8) -> HRESULT, pub ReadBuffer: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT, pub ReadBoolean: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub ReadGuid: unsafe extern "system" fn(_: *mut c_void, _: *mut GUID) -> HRESULT, pub ReadInt16: unsafe extern "system" fn(_: *mut c_void, _: *mut i16) -> HRESULT, pub ReadInt32: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub ReadInt64: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT, pub ReadUInt16: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT, pub ReadUInt32: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub ReadUInt64: unsafe extern "system" fn(_: *mut c_void, _: *mut u64) -> HRESULT, pub ReadSingle: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT, pub ReadDouble: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT, pub ReadString: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub ReadDateTime: unsafe extern "system" fn(_: *mut c_void, _: *mut DateTime) -> HRESULT, pub ReadTimeSpan: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT, pub LoadAsync: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT, pub DetachBuffer: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub DetachStream: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
}

Fields§

§base__: IInspectable_Vtbl§UnconsumedBufferLength: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§UnicodeEncoding: unsafe extern "system" fn(_: *mut c_void, _: *mut UnicodeEncoding) -> HRESULT§SetUnicodeEncoding: unsafe extern "system" fn(_: *mut c_void, _: UnicodeEncoding) -> HRESULT§ByteOrder: unsafe extern "system" fn(_: *mut c_void, _: *mut ByteOrder) -> HRESULT§SetByteOrder: unsafe extern "system" fn(_: *mut c_void, _: ByteOrder) -> HRESULT§InputStreamOptions: unsafe extern "system" fn(_: *mut c_void, _: *mut InputStreamOptions) -> HRESULT§SetInputStreamOptions: unsafe extern "system" fn(_: *mut c_void, _: InputStreamOptions) -> HRESULT§ReadByte: unsafe extern "system" fn(_: *mut c_void, _: *mut u8) -> HRESULT§ReadBytes: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u8) -> HRESULT§ReadBuffer: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT§ReadBoolean: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§ReadGuid: unsafe extern "system" fn(_: *mut c_void, _: *mut GUID) -> HRESULT§ReadInt16: unsafe extern "system" fn(_: *mut c_void, _: *mut i16) -> HRESULT§ReadInt32: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§ReadInt64: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT§ReadUInt16: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT§ReadUInt32: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§ReadUInt64: unsafe extern "system" fn(_: *mut c_void, _: *mut u64) -> HRESULT§ReadSingle: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§ReadDouble: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT§ReadString: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MaybeUninit<HSTRING>) -> HRESULT§ReadDateTime: unsafe extern "system" fn(_: *mut c_void, _: *mut DateTime) -> HRESULT§ReadTimeSpan: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT§LoadAsync: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT§DetachBuffer: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§DetachStream: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT

Implementations§

§

impl IDataReader_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> IDataReader_Vtbl
where Identity: IDataReader_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.