Struct winrt::windows::foundation::collections::IVector
[−]
[src]
#[repr(C)]pub struct IVector<T> where
T: RtType, { /* fields omitted */ }
Methods
impl<T: RtType> IVector<T>
[src]
unsafe fn get_at(&self, index: u32) -> Result<T::Out>
unsafe fn get_size(&self) -> Result<u32>
unsafe fn get_view(&self) -> Result<ComPtr<IVectorView<T>>>
unsafe fn index_of(&self, value: &T::In) -> Result<(u32, bool)>
unsafe fn set_at(&self, index: u32, value: &T::In) -> Result<()>
unsafe fn insert_at(&self, index: u32, value: &T::In) -> Result<()>
unsafe fn remove_at(&self, index: u32) -> Result<()>
unsafe fn append(&self, value: &T::In) -> Result<()>
unsafe fn remove_at_end(&self) -> Result<()>
unsafe fn clear(&self) -> Result<()>
unsafe fn get_many(
&self,
startIndex: u32,
items: &mut Vec<T::Out>
) -> Result<()>
&self,
startIndex: u32,
items: &mut Vec<T::Out>
) -> Result<()>
unsafe fn replace_all(&self, items: &[&T::In]) -> Result<()>
Methods from Deref<Target = IInspectable>
fn get_iids(&self) -> ComArray<Guid>
Returns the interfaces that are implemented by the current Windows Runtime object.
fn get_trust_level(&self) -> TrustLevel
Returns the trust level of the current Windows Runtime object.
Trait Implementations
impl<T> ComInterface for IVector<T> where
T: RtType,
[src]
T: RtType,
type Vtbl = IVectorVtbl<T>
The type that defines the VTable of this interface.
impl<T> RtType for IVector<T> where
T: RtType,
[src]
T: RtType,
type In = IVector<T>
type Abi = *mut IVector<T>
type Out = ComPtr<IVector<T>>
unsafe fn unwrap(input: &Self::In) -> Self::Abi
unsafe fn uninitialized() -> Self::Abi
unsafe fn wrap(abi: Self::Abi) -> Self::Out
impl<T> Deref for IVector<T> where
T: RtType,
[src]
T: RtType,
type Target = IInspectable
The resulting type after dereferencing
fn deref(&self) -> &IInspectable
The method called to dereference a value
impl<T> DerefMut for IVector<T> where
T: RtType,
[src]
T: RtType,
fn deref_mut(&mut self) -> &mut IInspectable
The method called to mutably dereference a value