Enum ori_graphics::PrimitiveKind
source · pub enum PrimitiveKind {
Text(TextSection),
Quad(Quad),
Mesh(Mesh),
}
Variants§
Trait Implementations§
source§impl Clone for PrimitiveKind
impl Clone for PrimitiveKind
source§fn clone(&self) -> PrimitiveKind
fn clone(&self) -> PrimitiveKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PrimitiveKind
impl Debug for PrimitiveKind
source§impl From<Mesh> for PrimitiveKind
impl From<Mesh> for PrimitiveKind
source§impl From<Quad> for PrimitiveKind
impl From<Quad> for PrimitiveKind
source§impl From<TextSection> for PrimitiveKind
impl From<TextSection> for PrimitiveKind
source§fn from(text: TextSection) -> Self
fn from(text: TextSection) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PrimitiveKind
impl Send for PrimitiveKind
impl Sync for PrimitiveKind
impl Unpin for PrimitiveKind
impl !UnwindSafe for PrimitiveKind
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