Struct makepad_widgets::shader::std::windows::Storage::Streams::DataReader
#[repr(transparent)]pub struct DataReader(/* private fields */);Implementations§
§impl DataReader
impl DataReader
pub fn UnconsumedBufferLength(&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 InputStreamOptions(&self) -> Result<InputStreamOptions, Error>
pub fn SetInputStreamOptions( &self, value: InputStreamOptions ) -> Result<(), Error>
pub fn ReadByte(&self) -> Result<u8, Error>
pub fn ReadBytes(&self, value: &mut [u8]) -> Result<(), Error>
pub fn ReadBuffer(&self, length: u32) -> Result<IBuffer, Error>
pub fn ReadBoolean(&self) -> Result<bool, Error>
pub fn ReadGuid(&self) -> Result<GUID, Error>
pub fn ReadInt16(&self) -> Result<i16, Error>
pub fn ReadInt32(&self) -> Result<i32, Error>
pub fn ReadInt64(&self) -> Result<i64, Error>
pub fn ReadUInt16(&self) -> Result<u16, Error>
pub fn ReadUInt32(&self) -> Result<u32, Error>
pub fn ReadUInt64(&self) -> Result<u64, Error>
pub fn ReadSingle(&self) -> Result<f32, Error>
pub fn ReadDouble(&self) -> Result<f64, Error>
pub fn ReadString(&self, codeunitcount: u32) -> Result<HSTRING, Error>
pub fn ReadDateTime(&self) -> Result<DateTime, Error>
pub fn ReadDateTime(&self) -> Result<DateTime, Error>
Required features: "Foundation"
pub fn ReadTimeSpan(&self) -> Result<TimeSpan, Error>
pub fn ReadTimeSpan(&self) -> Result<TimeSpan, Error>
Required features: "Foundation"
pub fn LoadAsync(&self, count: u32) -> Result<DataReaderLoadOperation, Error>
pub fn LoadAsync(&self, count: u32) -> Result<DataReaderLoadOperation, Error>
Required features: "Foundation"
pub fn DetachBuffer(&self) -> Result<IBuffer, Error>
pub fn DetachStream(&self) -> Result<IInputStream, Error>
pub fn CreateDataReader<P0>(inputstream: P0) -> Result<DataReader, Error>where P0: TryIntoParam<IInputStream>,
pub fn FromBuffer<P0>(buffer: P0) -> Result<DataReader, Error>where P0: TryIntoParam<IBuffer>,
Trait Implementations§
§impl Clone for DataReader
impl Clone for DataReader
§fn clone(&self) -> DataReader
fn clone(&self) -> DataReader
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 DataReader
impl ComInterface for DataReader
§const IID: GUID = <IDataReader as ::windows_core::ComInterface>::IID
const IID: GUID = <IDataReader as ::windows_core::ComInterface>::IID
A unique identifier representing this interface.
fn as_unknown(&self) -> &IUnknown
§impl Debug for DataReader
impl Debug for DataReader
§impl Interface for DataReader
impl Interface for DataReader
type Vtable = IDataReader_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<DataReader> for DataReader
impl PartialEq<DataReader> for DataReader
§fn eq(&self, other: &DataReader) -> bool
fn eq(&self, other: &DataReader) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for DataReader
impl Send for DataReader
impl Sync for DataReader
Auto Trait Implementations§
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