pub struct RandomAccessStreamReference(/* private fields */);Implementations§
Source§impl RandomAccessStreamReference
impl RandomAccessStreamReference
pub fn OpenReadAsync( &self, ) -> Result<IAsyncOperation<IRandomAccessStreamWithContentType>>
pub fn CreateFromUri<'a, T0__: IntoParam<'a, Uri>>( uri: T0__, ) -> Result<RandomAccessStreamReference>
pub fn CreateFromStream<'a, T0__: IntoParam<'a, IRandomAccessStream>>( stream: T0__, ) -> Result<RandomAccessStreamReference>
Trait Implementations§
Source§impl Clone for RandomAccessStreamReference
impl Clone for RandomAccessStreamReference
Source§fn clone(&self) -> RandomAccessStreamReference
fn clone(&self) -> RandomAccessStreamReference
Returns a duplicate 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 moreSource§impl Debug for RandomAccessStreamReference
impl Debug for RandomAccessStreamReference
Source§impl From<&RandomAccessStreamReference> for IRandomAccessStreamReference
impl From<&RandomAccessStreamReference> for IRandomAccessStreamReference
Source§fn from(value: &RandomAccessStreamReference) -> Self
fn from(value: &RandomAccessStreamReference) -> Self
Converts to this type from the input type.
Source§impl From<&RandomAccessStreamReference> for Object
impl From<&RandomAccessStreamReference> for Object
Source§fn from(value: &RandomAccessStreamReference) -> Self
fn from(value: &RandomAccessStreamReference) -> Self
Converts to this type from the input type.
Source§impl From<RandomAccessStreamReference> for IRandomAccessStreamReference
impl From<RandomAccessStreamReference> for IRandomAccessStreamReference
Source§fn from(value: RandomAccessStreamReference) -> Self
fn from(value: RandomAccessStreamReference) -> Self
Converts to this type from the input type.
Source§impl From<RandomAccessStreamReference> for Object
impl From<RandomAccessStreamReference> for Object
Source§fn from(value: RandomAccessStreamReference) -> Self
fn from(value: RandomAccessStreamReference) -> Self
Converts to this type from the input type.
Source§impl Interface for RandomAccessStreamReference
impl Interface for RandomAccessStreamReference
const IID: Guid
type Vtable = IRandomAccessStreamReference_abi
Source§impl<'a> IntoParam<'a, IRandomAccessStreamReference> for &'a RandomAccessStreamReference
impl<'a> IntoParam<'a, IRandomAccessStreamReference> for &'a RandomAccessStreamReference
fn into_param(self) -> Param<'a, IRandomAccessStreamReference>
Source§impl<'a> IntoParam<'a, IRandomAccessStreamReference> for RandomAccessStreamReference
impl<'a> IntoParam<'a, IRandomAccessStreamReference> for RandomAccessStreamReference
fn into_param(self) -> Param<'a, IRandomAccessStreamReference>
Source§impl<'a> IntoParam<'a, Object> for &'a RandomAccessStreamReference
impl<'a> IntoParam<'a, Object> for &'a RandomAccessStreamReference
fn into_param(self) -> Param<'a, Object>
Source§impl<'a> IntoParam<'a, Object> for RandomAccessStreamReference
impl<'a> IntoParam<'a, Object> for RandomAccessStreamReference
fn into_param(self) -> Param<'a, Object>
impl Eq for RandomAccessStreamReference
impl Send for RandomAccessStreamReference
impl StructuralPartialEq for RandomAccessStreamReference
impl Sync for RandomAccessStreamReference
Auto Trait Implementations§
impl Freeze for RandomAccessStreamReference
impl RefUnwindSafe for RandomAccessStreamReference
impl Unpin for RandomAccessStreamReference
impl UnwindSafe for RandomAccessStreamReference
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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