Struct windows::Storage::Streams::IDataWriter_Vtbl

#[repr(C)]
pub struct IDataWriter_Vtbl {
Show 28 fields pub base__: IInspectable_Vtbl, pub UnstoredBufferLength: 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 WriteByte: unsafe extern "system" fn(_: *mut c_void, _: u8) -> HRESULT, pub WriteBytes: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u8) -> HRESULT, pub WriteBuffer: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub WriteBufferRange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: u32) -> HRESULT, pub WriteBoolean: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT, pub WriteGuid: unsafe extern "system" fn(_: *mut c_void, _: GUID) -> HRESULT, pub WriteInt16: unsafe extern "system" fn(_: *mut c_void, _: i16) -> HRESULT, pub WriteInt32: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub WriteInt64: unsafe extern "system" fn(_: *mut c_void, _: i64) -> HRESULT, pub WriteUInt16: unsafe extern "system" fn(_: *mut c_void, _: u16) -> HRESULT, pub WriteUInt32: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub WriteUInt64: unsafe extern "system" fn(_: *mut c_void, _: u64) -> HRESULT, pub WriteSingle: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT, pub WriteDouble: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT, pub WriteDateTime: unsafe extern "system" fn(_: *mut c_void, _: DateTime) -> HRESULT, pub WriteTimeSpan: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT, pub WriteString: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>, _: *mut u32) -> HRESULT, pub MeasureString: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>, _: *mut u32) -> HRESULT, pub StoreAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub FlushAsync: unsafe extern "system" fn(_: *mut c_void, _: *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§UnstoredBufferLength: 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§WriteByte: unsafe extern "system" fn(_: *mut c_void, _: u8) -> HRESULT§WriteBytes: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u8) -> HRESULT§WriteBuffer: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§WriteBufferRange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: u32) -> HRESULT§WriteBoolean: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT§WriteGuid: unsafe extern "system" fn(_: *mut c_void, _: GUID) -> HRESULT§WriteInt16: unsafe extern "system" fn(_: *mut c_void, _: i16) -> HRESULT§WriteInt32: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§WriteInt64: unsafe extern "system" fn(_: *mut c_void, _: i64) -> HRESULT§WriteUInt16: unsafe extern "system" fn(_: *mut c_void, _: u16) -> HRESULT§WriteUInt32: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§WriteUInt64: unsafe extern "system" fn(_: *mut c_void, _: u64) -> HRESULT§WriteSingle: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT§WriteDouble: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT§WriteDateTime: unsafe extern "system" fn(_: *mut c_void, _: DateTime) -> HRESULT§WriteTimeSpan: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT§WriteString: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>, _: *mut u32) -> HRESULT§MeasureString: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>, _: *mut u32) -> HRESULT§StoreAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§FlushAsync: unsafe extern "system" fn(_: *mut c_void, _: *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 IDataWriter_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> IDataWriter_Vtbl
where Identity: IDataWriter_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.