Struct makepad_widgets::shader::std::windows::Foundation::Collections::IVector
#[repr(transparent)]pub struct IVector<T>(/* private fields */)
where
T: RuntimeType + 'static;Expand description
Required features: "Foundation_Collections"
Implementations§
§impl<T> IVector<T>where
T: RuntimeType + 'static,
impl<T> IVector<T>where T: RuntimeType + 'static,
pub fn GetAt(&self, index: u32) -> Result<T, Error>
pub fn Size(&self) -> Result<u32, Error>
pub fn GetView(&self) -> Result<IVectorView<T>, Error>
pub fn IndexOf<P0>(&self, value: P0, index: &mut u32) -> Result<bool, Error>where P0: IntoParam<T, <T as TypeKind>::TypeKind>,
pub fn SetAt<P0>(&self, index: u32, value: P0) -> Result<(), Error>where P0: IntoParam<T, <T as TypeKind>::TypeKind>,
pub fn InsertAt<P0>(&self, index: u32, value: P0) -> Result<(), Error>where P0: IntoParam<T, <T as TypeKind>::TypeKind>,
pub fn RemoveAt(&self, index: u32) -> Result<(), Error>
pub fn Append<P0>(&self, value: P0) -> Result<(), Error>where P0: IntoParam<T, <T as TypeKind>::TypeKind>,
pub fn RemoveAtEnd(&self) -> Result<(), Error>
pub fn Clear(&self) -> Result<(), Error>
pub fn GetMany( &self, startindex: u32, items: &mut [<T as Type<T, <T as TypeKind>::TypeKind>>::Default] ) -> Result<u32, Error>
pub fn ReplaceAll( &self, items: &[<T as Type<T, <T as TypeKind>::TypeKind>>::Default] ) -> Result<(), Error>
pub fn First(&self) -> Result<IIterator<T>, Error>
Trait Implementations§
§impl<T> ComInterface for IVector<T>where
T: RuntimeType + 'static,
impl<T> ComInterface for IVector<T>where T: RuntimeType + 'static,
fn as_unknown(&self) -> &IUnknown
§impl<T> Interface for IVector<T>where
T: RuntimeType + 'static,
impl<T> Interface for IVector<T>where T: RuntimeType + 'static,
type Vtable = IVector_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 &IVector<T>where
T: RuntimeType,
impl<T> IntoIterator for &IVector<T>where T: RuntimeType,
§type IntoIter = VectorIterator<<&IVector<T> as IntoIterator>::Item>
type IntoIter = VectorIterator<<&IVector<T> as IntoIterator>::Item>
Which kind of iterator are we turning this into?
§impl<T> IntoIterator for IVector<T>where
T: RuntimeType,
impl<T> IntoIterator for IVector<T>where T: RuntimeType,
§type IntoIter = VectorIterator<<IVector<T> as IntoIterator>::Item>
type IntoIter = VectorIterator<<IVector<T> as IntoIterator>::Item>
Which kind of iterator are we turning this into?
§impl<T> PartialEq<IVector<T>> for IVector<T>where
T: RuntimeType + 'static,
impl<T> PartialEq<IVector<T>> for IVector<T>where T: RuntimeType + 'static,
impl<T> Eq for IVector<T>where T: RuntimeType + 'static,
Auto Trait Implementations§
impl<T> RefUnwindSafe for IVector<T>where T: RefUnwindSafe,
impl<T> !Send for IVector<T>
impl<T> !Sync for IVector<T>
impl<T> Unpin for IVector<T>where T: Unpin,
impl<T> UnwindSafe for IVector<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