Trait rin::ecs::storage::oneton_densevec::GroupExt [−][src]
pub trait GroupExt: Copy { pub fn new(first_index: usize, len: usize) -> Self; pub fn first_index(&self) -> usize; pub fn len(&self) -> usize; pub fn offset(&mut self, pos: isize); pub fn resize(&mut self, newlen: usize); pub fn changed_mut(&mut self) -> Option<&mut bool>; pub fn changed(&self) -> bool; pub fn mark_changed(&mut self); }
Required methods
pub fn new(first_index: usize, len: usize) -> Self
[src]
pub fn first_index(&self) -> usize
[src]
pub fn len(&self) -> usize
[src]
pub fn offset(&mut self, pos: isize)
[src]
pub fn resize(&mut self, newlen: usize)
[src]
pub fn changed_mut(&mut self) -> Option<&mut bool>
[src]
pub fn changed(&self) -> bool
[src]
pub fn mark_changed(&mut self)
[src]
Implementors
impl GroupExt for Group
[src]
impl GroupExt for Group
[src]pub fn new(first_index: usize, len: usize) -> Group where
Group: Sized,
[src]
Group: Sized,
pub fn first_index(&self) -> usize
[src]
pub fn len(&self) -> usize
[src]
pub fn offset(&mut self, pos: isize)
[src]
pub fn resize(&mut self, newlen: usize)
[src]
pub fn changed_mut(&mut self) -> Option<&mut bool>
[src]
pub fn changed(&self) -> bool
[src]
pub fn mark_changed(&mut self)
[src]
impl GroupExt for GroupChanged
[src]
impl GroupExt for GroupChanged
[src]pub fn new(first_index: usize, len: usize) -> GroupChanged where
GroupChanged: Sized,
[src]
GroupChanged: Sized,