Struct ash::vk::PrimitiveTopology
source · #[repr(transparent)]pub struct PrimitiveTopology(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
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
)