pub struct ShaderMode(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl ShaderMode
impl ShaderMode
pub const SPATIAL: ShaderMode
pub const CANVAS_ITEM: ShaderMode
pub const PARTICLES: ShaderMode
pub const MAX: ShaderMode
Trait Implementations§
Source§impl Clone for ShaderMode
impl Clone for ShaderMode
Source§fn clone(&self) -> ShaderMode
fn clone(&self) -> ShaderMode
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 ShaderMode
impl Debug for ShaderMode
Source§impl From<ShaderMode> for i64
impl From<ShaderMode> for i64
Source§fn from(v: ShaderMode) -> Self
fn from(v: ShaderMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for ShaderMode
impl From<i64> for ShaderMode
Source§impl FromVariant for ShaderMode
impl FromVariant for ShaderMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for ShaderMode
impl Hash for ShaderMode
Source§impl Ord for ShaderMode
impl Ord for ShaderMode
Source§fn cmp(&self, other: &ShaderMode) -> Ordering
fn cmp(&self, other: &ShaderMode) -> 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 ShaderMode
impl PartialEq for ShaderMode
Source§impl PartialOrd for ShaderMode
impl PartialOrd for ShaderMode
impl Copy for ShaderMode
impl Eq for ShaderMode
impl StructuralPartialEq for ShaderMode
Auto Trait Implementations§
impl Freeze for ShaderMode
impl RefUnwindSafe for ShaderMode
impl Send for ShaderMode
impl Sync for ShaderMode
impl Unpin for ShaderMode
impl UnwindSafe for ShaderMode
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.