pub trait IVector_Impl<T>: Sized + IIterable_Impl<T>
where T: RuntimeType + 'static,
{ // Required methods fn GetAt(&self, index: u32) -> Result<T>; fn Size(&self) -> Result<u32>; fn GetView(&self) -> Result<IVectorView<T>>; fn IndexOf( &self, value: &<T as Type<T>>::Default, index: &mut u32 ) -> Result<bool>; fn SetAt(&self, index: u32, value: &<T as Type<T>>::Default) -> Result<()>; fn InsertAt( &self, index: u32, value: &<T as Type<T>>::Default ) -> Result<()>; fn RemoveAt(&self, index: u32) -> Result<()>; fn Append(&self, value: &<T as Type<T>>::Default) -> Result<()>; fn RemoveAtEnd(&self) -> Result<()>; fn Clear(&self) -> Result<()>; fn GetMany( &self, startindex: u32, items: &mut [<T as Type<T>>::Default] ) -> Result<u32>; fn ReplaceAll(&self, items: &[<T as Type<T>>::Default]) -> Result<()>; }

Required Methods§

fn GetAt(&self, index: u32) -> Result<T>

fn Size(&self) -> Result<u32>

fn GetView(&self) -> Result<IVectorView<T>>

fn IndexOf( &self, value: &<T as Type<T>>::Default, index: &mut u32 ) -> Result<bool>

fn SetAt(&self, index: u32, value: &<T as Type<T>>::Default) -> Result<()>

fn InsertAt(&self, index: u32, value: &<T as Type<T>>::Default) -> Result<()>

fn RemoveAt(&self, index: u32) -> Result<()>

fn Append(&self, value: &<T as Type<T>>::Default) -> Result<()>

fn RemoveAtEnd(&self) -> Result<()>

fn Clear(&self) -> Result<()>

fn GetMany( &self, startindex: u32, items: &mut [<T as Type<T>>::Default] ) -> Result<u32>

fn ReplaceAll(&self, items: &[<T as Type<T>>::Default]) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§