Struct ash::vk::PrimitiveTopology
source · 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§fn eq(&self, other: &PrimitiveTopology) -> bool
fn eq(&self, other: &PrimitiveTopology) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PrimitiveTopology
impl PartialOrd for PrimitiveTopology
source§fn partial_cmp(&self, other: &PrimitiveTopology) -> Option<Ordering>
fn partial_cmp(&self, other: &PrimitiveTopology) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PrimitiveTopology
impl Eq for PrimitiveTopology
impl StructuralEq for PrimitiveTopology
impl StructuralPartialEq for PrimitiveTopology
Auto Trait Implementations§
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