pub struct ViewportClearMode(pub i64);Tuple Fields§
§0: i64Implementations§
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 duplicate 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 for ViewportClearMode
impl PartialEq for ViewportClearMode
Source§impl PartialOrd for ViewportClearMode
impl PartialOrd for ViewportClearMode
impl Copy for ViewportClearMode
impl Eq for ViewportClearMode
impl StructuralPartialEq for ViewportClearMode
Auto Trait Implementations§
impl Freeze for ViewportClearMode
impl RefUnwindSafe for ViewportClearMode
impl Send for ViewportClearMode
impl Sync for ViewportClearMode
impl Unpin for ViewportClearMode
impl UnwindSafe for ViewportClearMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.