pub struct VertexViewMut<'s> { /* private fields */ }Expand description
Mutable view into a vertex’s data in the columnar store
Implementations§
Source§impl<'s> VertexViewMut<'s>
impl<'s> VertexViewMut<'s>
pub fn new(store: &'s mut VertexStore, id: VertexId) -> Self
pub fn id(&self) -> VertexId
pub fn row(&self) -> u32
pub fn col(&self) -> u32
pub fn sheet_id(&self) -> u16
pub fn is_dirty(&self) -> bool
pub fn is_volatile(&self) -> bool
pub fn kind(&self) -> VertexKind
pub fn set_kind(&mut self, kind: VertexKind)
pub fn set_dirty(&mut self, dirty: bool)
pub fn set_volatile(&mut self, volatile: bool)
pub fn set_value_ref(&mut self, value_ref: u32)
pub fn set_edge_offset(&mut self, offset: u32)
Trait Implementations§
Auto Trait Implementations§
impl<'s> Freeze for VertexViewMut<'s>
impl<'s> RefUnwindSafe for VertexViewMut<'s>
impl<'s> Send for VertexViewMut<'s>
impl<'s> Sync for VertexViewMut<'s>
impl<'s> Unpin for VertexViewMut<'s>
impl<'s> !UnwindSafe for VertexViewMut<'s>
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more