#[repr(transparent)]pub struct WGPUPrimitiveTopology(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUPrimitiveTopology
impl WGPUPrimitiveTopology
pub const Undefined: Self = raw::WGPUPrimitiveTopology_WGPUPrimitiveTopology_Undefined
pub const PointList: Self = raw::WGPUPrimitiveTopology_WGPUPrimitiveTopology_PointList
pub const LineList: Self = raw::WGPUPrimitiveTopology_WGPUPrimitiveTopology_LineList
pub const LineStrip: Self = raw::WGPUPrimitiveTopology_WGPUPrimitiveTopology_LineStrip
pub const TriangleList: Self = raw::WGPUPrimitiveTopology_WGPUPrimitiveTopology_TriangleList
pub const TriangleStrip: Self = raw::WGPUPrimitiveTopology_WGPUPrimitiveTopology_TriangleStrip
Trait Implementations§
Source§impl Clone for WGPUPrimitiveTopology
impl Clone for WGPUPrimitiveTopology
Source§fn clone(&self) -> WGPUPrimitiveTopology
fn clone(&self) -> WGPUPrimitiveTopology
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 WGPUPrimitiveTopology
impl Debug for WGPUPrimitiveTopology
§impl Default for WGPUPrimitiveTopology
impl Default for WGPUPrimitiveTopology
Source§impl Hash for WGPUPrimitiveTopology
impl Hash for WGPUPrimitiveTopology
Source§impl Ord for WGPUPrimitiveTopology
impl Ord for WGPUPrimitiveTopology
Source§fn cmp(&self, other: &WGPUPrimitiveTopology) -> Ordering
fn cmp(&self, other: &WGPUPrimitiveTopology) -> 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 WGPUPrimitiveTopology
impl PartialEq for WGPUPrimitiveTopology
Source§impl PartialOrd for WGPUPrimitiveTopology
impl PartialOrd for WGPUPrimitiveTopology
impl Copy for WGPUPrimitiveTopology
impl Eq for WGPUPrimitiveTopology
impl StructuralPartialEq for WGPUPrimitiveTopology
Auto Trait Implementations§
impl Freeze for WGPUPrimitiveTopology
impl RefUnwindSafe for WGPUPrimitiveTopology
impl Send for WGPUPrimitiveTopology
impl Sync for WGPUPrimitiveTopology
impl Unpin for WGPUPrimitiveTopology
impl UnwindSafe for WGPUPrimitiveTopology
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