pub struct EmptyVertexAttributes {
pub len: usize,
}Expand description
Marker that can be passed instead of a buffer to indicate an empty list of buffers.
Fields§
§len: usizeNumber of phantom vertices.
Trait Implementations§
Source§impl<'a> From<EmptyVertexAttributes> for VerticesSource<'a>
impl<'a> From<EmptyVertexAttributes> for VerticesSource<'a>
Source§fn from(this: EmptyVertexAttributes) -> VerticesSource<'a>
fn from(this: EmptyVertexAttributes) -> VerticesSource<'a>
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EmptyVertexAttributes
impl RefUnwindSafe for EmptyVertexAttributes
impl Send for EmptyVertexAttributes
impl Sync for EmptyVertexAttributes
impl Unpin for EmptyVertexAttributes
impl UnsafeUnpin for EmptyVertexAttributes
impl UnwindSafe for EmptyVertexAttributes
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