Struct chunked::world::ChunkGuard [−][src]
pub struct ChunkGuard<'a> { /* fields omitted */ }
A guard that holds a read-write lock over a Chunk
.
Implementations
impl<'a> ChunkGuard<'a>
[src]
impl<'a> ChunkGuard<'a>
[src]pub fn components<T: Component>(&self) -> Option<&[T]>
[src]
pub fn components<T: Component>(&self) -> Option<&[T]>
[src]Get a set of components from this chunk.
pub fn components_mut<T: Component>(&self) -> Option<&mut [T]>
[src]
pub fn components_mut<T: Component>(&self) -> Option<&mut [T]>
[src]Get a mutable slice of a given type of components from a chunk.
Trait Implementations
impl<'a> Send for ChunkGuard<'a>
[src]
impl<'a> Sync for ChunkGuard<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for ChunkGuard<'a>
impl<'a> Unpin for ChunkGuard<'a>
impl<'a> UnwindSafe for ChunkGuard<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T