pub struct AttributeSlice<'l> { /* private fields */ }
Expand description
A view over a contiguous storage of custom attributes.
Implementations§
Trait Implementations§
source§impl<'l> AttributeStore for AttributeSlice<'l>
impl<'l> AttributeStore for AttributeSlice<'l>
source§fn get(&self, id: EndpointId) -> Attributes<'_>
fn get(&self, id: EndpointId) -> Attributes<'_>
Returns the endpoint’s custom attributes as a slice of 32 bits floats. Read more
source§fn num_attributes(&self) -> usize
fn num_attributes(&self) -> usize
Returns the number of float attributes per endpoint. Read more
Auto Trait Implementations§
impl<'l> Freeze for AttributeSlice<'l>
impl<'l> RefUnwindSafe for AttributeSlice<'l>
impl<'l> Send for AttributeSlice<'l>
impl<'l> Sync for AttributeSlice<'l>
impl<'l> Unpin for AttributeSlice<'l>
impl<'l> UnwindSafe for AttributeSlice<'l>
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