Struct ambient_api::mesh::Descriptor
source · pub struct Descriptor<'a> {
pub vertices: &'a [Vertex],
pub indices: &'a [u32],
}
Available on crate feature
client
only.Fields§
§vertices: &'a [Vertex]
§indices: &'a [u32]
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Descriptor<'a>
impl<'a> Send for Descriptor<'a>
impl<'a> Sync for Descriptor<'a>
impl<'a> Unpin for Descriptor<'a>
impl<'a> UnwindSafe for Descriptor<'a>
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
source§impl<T> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.