pub struct ViewportClearMode(pub i64);
Tuple Fields§
§0: i64
Implementations§
source§impl ViewportClearMode
impl ViewportClearMode
pub const ALWAYS: ViewportClearMode = _
pub const NEVER: ViewportClearMode = _
pub const ONLY_NEXT_FRAME: ViewportClearMode = _
Trait Implementations§
source§impl Clone for ViewportClearMode
impl Clone for ViewportClearMode
source§fn clone(&self) -> ViewportClearMode
fn clone(&self) -> ViewportClearMode
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 ViewportClearMode
impl Debug for ViewportClearMode
source§impl From<ViewportClearMode> for i64
impl From<ViewportClearMode> for i64
source§fn from(v: ViewportClearMode) -> Self
fn from(v: ViewportClearMode) -> Self
Converts to this type from the input type.
source§impl From<i64> for ViewportClearMode
impl From<i64> for ViewportClearMode
source§impl FromVariant for ViewportClearMode
impl FromVariant for ViewportClearMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
source§impl Hash for ViewportClearMode
impl Hash for ViewportClearMode
source§impl Ord for ViewportClearMode
impl Ord for ViewportClearMode
source§fn cmp(&self, other: &ViewportClearMode) -> Ordering
fn cmp(&self, other: &ViewportClearMode) -> 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<ViewportClearMode> for ViewportClearMode
impl PartialEq<ViewportClearMode> for ViewportClearMode
source§fn eq(&self, other: &ViewportClearMode) -> bool
fn eq(&self, other: &ViewportClearMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ViewportClearMode> for ViewportClearMode
impl PartialOrd<ViewportClearMode> for ViewportClearMode
source§fn partial_cmp(&self, other: &ViewportClearMode) -> Option<Ordering>
fn partial_cmp(&self, other: &ViewportClearMode) -> 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 ViewportClearMode
impl Eq for ViewportClearMode
impl StructuralEq for ViewportClearMode
impl StructuralPartialEq for ViewportClearMode
Auto Trait Implementations§
impl RefUnwindSafe for ViewportClearMode
impl Send for ViewportClearMode
impl Sync for ViewportClearMode
impl Unpin for ViewportClearMode
impl UnwindSafe for ViewportClearMode
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.