Struct lyon_path::AttributeSlice
source · [−]pub struct AttributeSlice<'l> { /* private fields */ }
Expand description
A view over a contiguous storage of custom attributes.
Implementations
Trait Implementations
sourceimpl<'l> AttributeStore for AttributeSlice<'l>
impl<'l> AttributeStore for AttributeSlice<'l>
sourcefn 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
sourcefn num_attributes(&self) -> usize
fn num_attributes(&self) -> usize
Returns the number of float attributes per endpoint. Read more
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more