Struct ash::vk::enums::PolygonMode
source · #[repr(transparent)]pub struct PolygonMode(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
Implementations§
source§impl PolygonMode
impl PolygonMode
source§impl PolygonMode
impl PolygonMode
source§impl PolygonMode
impl PolygonMode
Generated from ‘VK_NV_fill_rectangle’
pub const FILL_RECTANGLE_NV: Self = _
Trait Implementations§
source§impl Clone for PolygonMode
impl Clone for PolygonMode
source§fn clone(&self) -> PolygonMode
fn clone(&self) -> PolygonMode
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 PolygonMode
impl Debug for PolygonMode
source§impl Default for PolygonMode
impl Default for PolygonMode
source§fn default() -> PolygonMode
fn default() -> PolygonMode
Returns the “default value” for a type. Read more
source§impl Hash for PolygonMode
impl Hash for PolygonMode
source§impl Ord for PolygonMode
impl Ord for PolygonMode
source§fn cmp(&self, other: &PolygonMode) -> Ordering
fn cmp(&self, other: &PolygonMode) -> 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 PolygonMode
impl PartialEq for PolygonMode
source§fn eq(&self, other: &PolygonMode) -> bool
fn eq(&self, other: &PolygonMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PolygonMode
impl PartialOrd for PolygonMode
source§fn partial_cmp(&self, other: &PolygonMode) -> Option<Ordering>
fn partial_cmp(&self, other: &PolygonMode) -> 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 PolygonMode
impl Eq for PolygonMode
impl StructuralPartialEq for PolygonMode
Auto Trait Implementations§
impl Freeze for PolygonMode
impl RefUnwindSafe for PolygonMode
impl Send for PolygonMode
impl Sync for PolygonMode
impl Unpin for PolygonMode
impl UnwindSafe for PolygonMode
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