Struct screen_13::prelude::vk::LineRasterizationModeEXT
source · pub struct LineRasterizationModeEXT(_);Expand description
Implementations
sourceimpl LineRasterizationModeEXT
impl LineRasterizationModeEXT
pub const DEFAULT: LineRasterizationModeEXT = Self(0)
pub const RECTANGULAR: LineRasterizationModeEXT = Self(1)
pub const BRESENHAM: LineRasterizationModeEXT = Self(2)
pub const RECTANGULAR_SMOOTH: LineRasterizationModeEXT = Self(3)
Trait Implementations
sourceimpl Clone for LineRasterizationModeEXT
impl Clone for LineRasterizationModeEXT
sourcefn clone(&self) -> LineRasterizationModeEXT
fn clone(&self) -> LineRasterizationModeEXT
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 moresourceimpl Debug for LineRasterizationModeEXT
impl Debug for LineRasterizationModeEXT
sourceimpl Default for LineRasterizationModeEXT
impl Default for LineRasterizationModeEXT
sourcefn default() -> LineRasterizationModeEXT
fn default() -> LineRasterizationModeEXT
Returns the “default value” for a type. Read more
sourceimpl Hash for LineRasterizationModeEXT
impl Hash for LineRasterizationModeEXT
sourceimpl Ord for LineRasterizationModeEXT
impl Ord for LineRasterizationModeEXT
sourcefn cmp(&self, other: &LineRasterizationModeEXT) -> Ordering
fn cmp(&self, other: &LineRasterizationModeEXT) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<LineRasterizationModeEXT> for LineRasterizationModeEXT
impl PartialEq<LineRasterizationModeEXT> for LineRasterizationModeEXT
sourcefn eq(&self, other: &LineRasterizationModeEXT) -> bool
fn eq(&self, other: &LineRasterizationModeEXT) -> bool
sourceimpl PartialOrd<LineRasterizationModeEXT> for LineRasterizationModeEXT
impl PartialOrd<LineRasterizationModeEXT> for LineRasterizationModeEXT
sourcefn partial_cmp(&self, other: &LineRasterizationModeEXT) -> Option<Ordering>
fn partial_cmp(&self, other: &LineRasterizationModeEXT) -> Option<Ordering>
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 moreimpl Copy for LineRasterizationModeEXT
impl Eq for LineRasterizationModeEXT
impl StructuralEq for LineRasterizationModeEXT
impl StructuralPartialEq for LineRasterizationModeEXT
Auto Trait Implementations
impl RefUnwindSafe for LineRasterizationModeEXT
impl Send for LineRasterizationModeEXT
impl Sync for LineRasterizationModeEXT
impl Unpin for LineRasterizationModeEXT
impl UnwindSafe for LineRasterizationModeEXT
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more