pub struct PrimitiveTopology(/* private fields */);
Expand description
Implementations§
Source§impl PrimitiveTopology
impl PrimitiveTopology
pub const POINT_LIST: Self = _
pub const LINE_LIST: Self = _
pub const LINE_STRIP: Self = _
pub const TRIANGLE_LIST: Self = _
pub const TRIANGLE_STRIP: Self = _
pub const TRIANGLE_FAN: Self = _
pub const LINE_LIST_WITH_ADJACENCY: Self = _
pub const LINE_STRIP_WITH_ADJACENCY: Self = _
pub const TRIANGLE_LIST_WITH_ADJACENCY: Self = _
pub const TRIANGLE_STRIP_WITH_ADJACENCY: Self = _
pub const PATCH_LIST: Self = _
Trait Implementations§
Source§impl Clone for PrimitiveTopology
impl Clone for PrimitiveTopology
Source§fn clone(&self) -> PrimitiveTopology
fn clone(&self) -> PrimitiveTopology
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 PrimitiveTopology
impl Debug for PrimitiveTopology
Source§impl Default for PrimitiveTopology
impl Default for PrimitiveTopology
Source§fn default() -> PrimitiveTopology
fn default() -> PrimitiveTopology
Returns the “default value” for a type. Read more
Source§impl Hash for PrimitiveTopology
impl Hash for PrimitiveTopology
Source§impl Ord for PrimitiveTopology
impl Ord for PrimitiveTopology
Source§fn cmp(&self, other: &PrimitiveTopology) -> Ordering
fn cmp(&self, other: &PrimitiveTopology) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PrimitiveTopology
impl PartialEq for PrimitiveTopology
Source§impl PartialOrd for PrimitiveTopology
impl PartialOrd for PrimitiveTopology
impl Copy for PrimitiveTopology
impl Eq for PrimitiveTopology
impl StructuralPartialEq for PrimitiveTopology
Auto Trait Implementations§
impl Freeze for PrimitiveTopology
impl RefUnwindSafe for PrimitiveTopology
impl Send for PrimitiveTopology
impl Sync for PrimitiveTopology
impl Unpin for PrimitiveTopology
impl UnwindSafe for PrimitiveTopology
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)