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
impl IDataWriter_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDataWriter_Vtblwhere
Identity: IDataWriter_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDataWriter_Vtbl
impl RefUnwindSafe for IDataWriter_Vtbl
impl Send for IDataWriter_Vtbl
impl Sync for IDataWriter_Vtbl
impl Unpin for IDataWriter_Vtbl
impl UnwindSafe for IDataWriter_Vtbl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more