Struct makepad_widgets::shader::std::windows::Storage::Streams::IDataReader
#[repr(transparent)]pub struct IDataReader(/* private fields */);Implementations§
§impl IDataReader
impl IDataReader
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>
Trait Implementations§
§impl Clone for IDataReader
impl Clone for IDataReader
§fn clone(&self) -> IDataReader
fn clone(&self) -> IDataReader
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 IDataReader
impl ComInterface for IDataReader
fn as_unknown(&self) -> &IUnknown
§impl Debug for IDataReader
impl Debug for IDataReader
§impl Interface for IDataReader
impl Interface for IDataReader
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<IDataReader> for IDataReader
impl PartialEq<IDataReader> for IDataReader
§fn eq(&self, other: &IDataReader) -> bool
fn eq(&self, other: &IDataReader) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for IDataReader
Auto Trait Implementations§
impl RefUnwindSafe for IDataReader
impl !Send for IDataReader
impl !Sync for IDataReader
impl Unpin for IDataReader
impl UnwindSafe for IDataReader
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