Struct ash::vk::PrimitiveTopology
source · [−]#[repr(transparent)]pub struct PrimitiveTopology(_);
Expand description
Implementations
sourceimpl 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
sourceimpl Clone for PrimitiveTopology
impl Clone for PrimitiveTopology
sourcefn clone(&self) -> PrimitiveTopology
fn clone(&self) -> PrimitiveTopology
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PrimitiveTopology
impl Debug for PrimitiveTopology
sourceimpl Default for PrimitiveTopology
impl Default for PrimitiveTopology
sourcefn default() -> PrimitiveTopology
fn default() -> PrimitiveTopology
Returns the “default value” for a type. Read more
sourceimpl Hash for PrimitiveTopology
impl Hash for PrimitiveTopology
sourceimpl Ord for PrimitiveTopology
impl Ord for PrimitiveTopology
sourceimpl PartialEq<PrimitiveTopology> for PrimitiveTopology
impl PartialEq<PrimitiveTopology> for PrimitiveTopology
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &PrimitiveTopology) -> bool
fn ne(&self, other: &PrimitiveTopology) -> bool
This method tests for !=
.
sourceimpl PartialOrd<PrimitiveTopology> for PrimitiveTopology
impl PartialOrd<PrimitiveTopology> for PrimitiveTopology
sourcefn partial_cmp(&self, other: &PrimitiveTopology) -> Option<Ordering>
fn partial_cmp(&self, other: &PrimitiveTopology) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more