Struct pasture_core::containers::AttributeViewMut
source · pub struct AttributeViewMut<'a, 'b, B: BorrowedMutBuffer<'a> + ?Sized, T: PrimitiveType>where
'a: 'b,{ /* private fields */ }
Expand description
Like AttributeView
, but provides mutable access to the attribute data
Implementations§
source§impl<'a, 'b, B: BorrowedMutBuffer<'a> + ?Sized, T: PrimitiveType> AttributeViewMut<'a, 'b, B, T>where
'a: 'b,
impl<'a, 'b, B: BorrowedMutBuffer<'a> + ?Sized, T: PrimitiveType> AttributeViewMut<'a, 'b, B, T>where
'a: 'b,
source§impl<'a, 'b, B: ColumnarBuffer<'a> + BorrowedMutBuffer<'a> + ?Sized, T: PrimitiveType> AttributeViewMut<'a, 'b, B, T>where
'a: 'b,
impl<'a, 'b, B: ColumnarBuffer<'a> + BorrowedMutBuffer<'a> + ?Sized, T: PrimitiveType> AttributeViewMut<'a, 'b, B, T>where
'a: 'b,
source§impl<'a, 'b, B: ColumnarBufferMut<'a> + BorrowedMutBuffer<'a> + ?Sized, T: PrimitiveType> AttributeViewMut<'a, 'b, B, T>
impl<'a, 'b, B: ColumnarBufferMut<'a> + BorrowedMutBuffer<'a> + ?Sized, T: PrimitiveType> AttributeViewMut<'a, 'b, B, T>
Trait Implementations§
source§impl<'a, 'b, B: Debug + BorrowedMutBuffer<'a> + ?Sized, T: Debug + PrimitiveType> Debug for AttributeViewMut<'a, 'b, B, T>where
'a: 'b,
impl<'a, 'b, B: Debug + BorrowedMutBuffer<'a> + ?Sized, T: Debug + PrimitiveType> Debug for AttributeViewMut<'a, 'b, B, T>where
'a: 'b,
source§impl<'a, 'b, 'c, 'd, B1: BorrowedMutBuffer<'a> + ?Sized + 'a, B2: BorrowedMutBuffer<'c> + ?Sized + 'c, T: PrimitiveType + PartialEq> PartialEq<AttributeViewMut<'c, 'd, B2, T>> for AttributeViewMut<'a, 'b, B1, T>
impl<'a, 'b, 'c, 'd, B1: BorrowedMutBuffer<'a> + ?Sized + 'a, B2: BorrowedMutBuffer<'c> + ?Sized + 'c, T: PrimitiveType + PartialEq> PartialEq<AttributeViewMut<'c, 'd, B2, T>> for AttributeViewMut<'a, 'b, B1, T>
source§fn eq(&self, other: &AttributeViewMut<'c, 'd, B2, T>) -> bool
fn eq(&self, other: &AttributeViewMut<'c, 'd, B2, T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a, 'b, B: BorrowedMutBuffer<'a> + ?Sized + 'a, T: PrimitiveType + Eq> Eq for AttributeViewMut<'a, 'b, B, T>
Auto Trait Implementations§
impl<'a, 'b, B, T> Freeze for AttributeViewMut<'a, 'b, B, T>where
B: ?Sized,
impl<'a, 'b, B, T> RefUnwindSafe for AttributeViewMut<'a, 'b, B, T>
impl<'a, 'b, B, T> Send for AttributeViewMut<'a, 'b, B, T>
impl<'a, 'b, B, T> Sync for AttributeViewMut<'a, 'b, B, T>
impl<'a, 'b, B, T> Unpin for AttributeViewMut<'a, 'b, B, T>where
B: ?Sized,
impl<'a, 'b, B, T> !UnwindSafe for AttributeViewMut<'a, 'b, B, T>
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
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.