pub struct VertexStorage<VertexType> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<VertexType> Clone for VertexStorage<VertexType>where
VertexType: Clone,
impl<VertexType> Clone for VertexStorage<VertexType>where
VertexType: Clone,
Source§impl<VertexType> Default for VertexStorage<VertexType>
impl<VertexType> Default for VertexStorage<VertexType>
Source§impl<VertexType> Index<u32> for VertexStorage<VertexType>
impl<VertexType> Index<u32> for VertexStorage<VertexType>
Source§impl<VertexType> IndexMut<u32> for VertexStorage<VertexType>
impl<VertexType> IndexMut<u32> for VertexStorage<VertexType>
Source§impl<VertexType> StoreVertex for VertexStorage<VertexType>
impl<VertexType> StoreVertex for VertexStorage<VertexType>
type VertexType = VertexType
fn is_empty(&self) -> bool
fn len(&self) -> usize
fn push(&mut self, val: VertexType)
fn capacity(&self) -> usize
fn iter(&self) -> Iter<'_, VertexType>
fn iter_mut(&mut self) -> IterMut<'_, VertexType>
fn as_slice(&self) -> &[VertexType]
Auto Trait Implementations§
impl<VertexType> Freeze for VertexStorage<VertexType>
impl<VertexType> RefUnwindSafe for VertexStorage<VertexType>where
VertexType: RefUnwindSafe,
impl<VertexType> Send for VertexStorage<VertexType>where
VertexType: Send,
impl<VertexType> Sync for VertexStorage<VertexType>where
VertexType: Sync,
impl<VertexType> Unpin for VertexStorage<VertexType>where
VertexType: Unpin,
impl<VertexType> UnwindSafe for VertexStorage<VertexType>where
VertexType: 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