Enum bgfx_rs::static_lib::Topology
source · #[repr(u32)]pub enum Topology {
TriList = 0,
TriStrip = 1,
LineList = 2,
LineStrip = 3,
PointList = 4,
Count = 5,
}
Expand description
Primitive topology.
Variants§
TriList = 0
Triangle list.
TriStrip = 1
Triangle strip.
LineList = 2
Line list.
LineStrip = 3
Line strip.
PointList = 4
Point list.
Count = 5
Number of entries in the enum
Trait Implementations§
source§impl PartialEq for Topology
impl PartialEq for Topology
impl Copy for Topology
impl StructuralPartialEq for Topology
Auto Trait Implementations§
impl Freeze for Topology
impl RefUnwindSafe for Topology
impl Send for Topology
impl Sync for Topology
impl Unpin for Topology
impl UnwindSafe for Topology
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