Struct makepad_widgets::shader::std::windows::Foundation::Collections::IVectorView
#[repr(transparent)]pub struct IVectorView<T>(/* private fields */)
where
T: RuntimeType + 'static;Expand description
Required features: "Foundation_Collections"
Implementations§
§impl<T> IVectorView<T>where
T: RuntimeType + 'static,
impl<T> IVectorView<T>where T: RuntimeType + 'static,
pub fn GetAt(&self, index: u32) -> Result<T, Error>
pub fn Size(&self) -> Result<u32, Error>
pub fn IndexOf<P0>(&self, value: P0, index: &mut u32) -> Result<bool, Error>where P0: IntoParam<T, <T as TypeKind>::TypeKind>,
pub fn GetMany( &self, startindex: u32, items: &mut [<T as Type<T, <T as TypeKind>::TypeKind>>::Default] ) -> Result<u32, Error>
pub fn First(&self) -> Result<IIterator<T>, Error>
Trait Implementations§
§impl<T> AsImpl<StockVectorView<T>> for IVectorView<T>where
T: RuntimeType + 'static,
<T as Type<T, <T as TypeKind>::TypeKind>>::Default: Clone + PartialEq<<T as Type<T, <T as TypeKind>::TypeKind>>::Default>,
impl<T> AsImpl<StockVectorView<T>> for IVectorView<T>where T: RuntimeType + 'static, <T as Type<T, <T as TypeKind>::TypeKind>>::Default: Clone + PartialEq<<T as Type<T, <T as TypeKind>::TypeKind>>::Default>,
§impl<T> Clone for IVectorView<T>where
T: RuntimeType + 'static,
impl<T> Clone for IVectorView<T>where T: RuntimeType + 'static,
§fn clone(&self) -> IVectorView<T>
fn clone(&self) -> IVectorView<T>
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<T> ComInterface for IVectorView<T>where
T: RuntimeType + 'static,
impl<T> ComInterface for IVectorView<T>where T: RuntimeType + 'static,
fn as_unknown(&self) -> &IUnknown
§impl<T> Debug for IVectorView<T>where
T: RuntimeType + 'static,
impl<T> Debug for IVectorView<T>where T: RuntimeType + 'static,
§impl<T> From<StockVectorView<T>> for IVectorView<T>where
T: RuntimeType + 'static,
<T as Type<T, <T as TypeKind>::TypeKind>>::Default: Clone + PartialEq<<T as Type<T, <T as TypeKind>::TypeKind>>::Default>,
impl<T> From<StockVectorView<T>> for IVectorView<T>where T: RuntimeType + 'static, <T as Type<T, <T as TypeKind>::TypeKind>>::Default: Clone + PartialEq<<T as Type<T, <T as TypeKind>::TypeKind>>::Default>,
§fn from(this: StockVectorView<T>) -> IVectorView<T>
fn from(this: StockVectorView<T>) -> IVectorView<T>
Converts to this type from the input type.
§impl<T> Interface for IVectorView<T>where
T: RuntimeType + 'static,
impl<T> Interface for IVectorView<T>where T: RuntimeType + 'static,
type Vtable = IVectorView_Vtbl<T>
§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<T> IntoIterator for &IVectorView<T>where
T: RuntimeType,
impl<T> IntoIterator for &IVectorView<T>where T: RuntimeType,
§type IntoIter = VectorViewIterator<<&IVectorView<T> as IntoIterator>::Item>
type IntoIter = VectorViewIterator<<&IVectorView<T> as IntoIterator>::Item>
Which kind of iterator are we turning this into?
§fn into_iter(self) -> <&IVectorView<T> as IntoIterator>::IntoIter
fn into_iter(self) -> <&IVectorView<T> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
§impl<T> IntoIterator for IVectorView<T>where
T: RuntimeType,
impl<T> IntoIterator for IVectorView<T>where T: RuntimeType,
§type IntoIter = VectorViewIterator<<IVectorView<T> as IntoIterator>::Item>
type IntoIter = VectorViewIterator<<IVectorView<T> as IntoIterator>::Item>
Which kind of iterator are we turning this into?
§fn into_iter(self) -> <IVectorView<T> as IntoIterator>::IntoIter
fn into_iter(self) -> <IVectorView<T> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
§impl<T> PartialEq<IVectorView<T>> for IVectorView<T>where
T: RuntimeType + 'static,
impl<T> PartialEq<IVectorView<T>> for IVectorView<T>where T: RuntimeType + 'static,
§fn eq(&self, other: &IVectorView<T>) -> bool
fn eq(&self, other: &IVectorView<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.§impl<T> TryFrom<Vec<<T as Type<T, <T as TypeKind>::TypeKind>>::Default, Global>> for IVectorView<T>where
T: RuntimeType,
<T as Type<T, <T as TypeKind>::TypeKind>>::Default: Clone + PartialEq<<T as Type<T, <T as TypeKind>::TypeKind>>::Default>,
impl<T> TryFrom<Vec<<T as Type<T, <T as TypeKind>::TypeKind>>::Default, Global>> for IVectorView<T>where T: RuntimeType, <T as Type<T, <T as TypeKind>::TypeKind>>::Default: Clone + PartialEq<<T as Type<T, <T as TypeKind>::TypeKind>>::Default>,
impl<T> Eq for IVectorView<T>where T: RuntimeType + 'static,
Auto Trait Implementations§
impl<T> RefUnwindSafe for IVectorView<T>where T: RefUnwindSafe,
impl<T> !Send for IVectorView<T>
impl<T> !Sync for IVectorView<T>
impl<T> Unpin for IVectorView<T>where T: Unpin,
impl<T> UnwindSafe for IVectorView<T>where T: UnwindSafe,
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