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
pub const fn from_raw(value: i32) -> Self
pub const fn as_raw(self) -> i32
Trait Implementations§
Source§impl Clone for PrimitiveTopology
impl Clone for PrimitiveTopology
Source§fn clone(&self) -> PrimitiveTopology
fn clone(&self) -> PrimitiveTopology
Returns a duplicate 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 Display for PrimitiveTopology
impl Display for PrimitiveTopology
Source§impl Error for PrimitiveTopology
impl Error for PrimitiveTopology
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
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 UnsafeUnpin 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