Struct makepad_widgets::shader::std::windows::Storage::Streams::IDataWriter
#[repr(transparent)]pub struct IDataWriter(/* private fields */);Implementations§
§impl IDataWriter
impl IDataWriter
pub fn UnstoredBufferLength(&self) -> Result<u32, Error>
pub fn UnicodeEncoding(&self) -> Result<UnicodeEncoding, Error>
pub fn SetUnicodeEncoding(&self, value: UnicodeEncoding) -> Result<(), Error>
pub fn ByteOrder(&self) -> Result<ByteOrder, Error>
pub fn SetByteOrder(&self, value: ByteOrder) -> Result<(), Error>
pub fn WriteByte(&self, value: u8) -> Result<(), Error>
pub fn WriteBytes(&self, value: &[u8]) -> Result<(), Error>
pub fn WriteBuffer<P0>(&self, buffer: P0) -> Result<(), Error>where P0: TryIntoParam<IBuffer>,
pub fn WriteBufferRange<P0>( &self, buffer: P0, start: u32, count: u32 ) -> Result<(), Error>where P0: TryIntoParam<IBuffer>,
pub fn WriteBoolean(&self, value: bool) -> Result<(), Error>
pub fn WriteGuid(&self, value: GUID) -> Result<(), Error>
pub fn WriteInt16(&self, value: i16) -> Result<(), Error>
pub fn WriteInt32(&self, value: i32) -> Result<(), Error>
pub fn WriteInt64(&self, value: i64) -> Result<(), Error>
pub fn WriteUInt16(&self, value: u16) -> Result<(), Error>
pub fn WriteUInt32(&self, value: u32) -> Result<(), Error>
pub fn WriteUInt64(&self, value: u64) -> Result<(), Error>
pub fn WriteSingle(&self, value: f32) -> Result<(), Error>
pub fn WriteDouble(&self, value: f64) -> Result<(), Error>
pub fn WriteDateTime(&self, value: DateTime) -> Result<(), Error>
pub fn WriteDateTime(&self, value: DateTime) -> Result<(), Error>
Required features: "Foundation"
pub fn WriteTimeSpan(&self, value: TimeSpan) -> Result<(), Error>
pub fn WriteTimeSpan(&self, value: TimeSpan) -> Result<(), Error>
Required features: "Foundation"
pub fn WriteString(&self, value: &HSTRING) -> Result<u32, Error>
pub fn MeasureString(&self, value: &HSTRING) -> Result<u32, Error>
pub fn StoreAsync(&self) -> Result<DataWriterStoreOperation, Error>
pub fn StoreAsync(&self) -> Result<DataWriterStoreOperation, Error>
Required features: "Foundation"
pub fn FlushAsync(&self) -> Result<IAsyncOperation<bool>, Error>
pub fn FlushAsync(&self) -> Result<IAsyncOperation<bool>, Error>
Required features: "Foundation"
pub fn DetachBuffer(&self) -> Result<IBuffer, Error>
pub fn DetachStream(&self) -> Result<IOutputStream, Error>
Trait Implementations§
§impl Clone for IDataWriter
impl Clone for IDataWriter
§fn clone(&self) -> IDataWriter
fn clone(&self) -> IDataWriter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl ComInterface for IDataWriter
impl ComInterface for IDataWriter
fn as_unknown(&self) -> &IUnknown
§impl Debug for IDataWriter
impl Debug for IDataWriter
§impl Interface for IDataWriter
impl Interface for IDataWriter
type Vtable = IDataWriter_Vtbl
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§impl PartialEq<IDataWriter> for IDataWriter
impl PartialEq<IDataWriter> for IDataWriter
§fn eq(&self, other: &IDataWriter) -> bool
fn eq(&self, other: &IDataWriter) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for IDataWriter
Auto Trait Implementations§
impl RefUnwindSafe for IDataWriter
impl !Send for IDataWriter
impl !Sync for IDataWriter
impl Unpin for IDataWriter
impl UnwindSafe for IDataWriter
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