Struct three_d::context::WebShaderKey
source · pub struct WebShaderKey(/* private fields */);Trait Implementations§
source§impl Clone for WebShaderKey
impl Clone for WebShaderKey
source§fn clone(&self) -> WebShaderKey
fn clone(&self) -> WebShaderKey
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 WebShaderKey
impl Debug for WebShaderKey
source§impl Default for WebShaderKey
impl Default for WebShaderKey
source§fn default() -> WebShaderKey
fn default() -> WebShaderKey
Returns the “default value” for a type. Read more
source§impl From<KeyData> for WebShaderKey
impl From<KeyData> for WebShaderKey
source§fn from(k: KeyData) -> WebShaderKey
fn from(k: KeyData) -> WebShaderKey
Converts to this type from the input type.
source§impl Hash for WebShaderKey
impl Hash for WebShaderKey
source§impl Key for WebShaderKey
impl Key for WebShaderKey
source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!, which calls this
method). Read moresource§impl Ord for WebShaderKey
impl Ord for WebShaderKey
source§fn cmp(&self, other: &WebShaderKey) -> Ordering
fn cmp(&self, other: &WebShaderKey) -> 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 WebShaderKey
impl PartialEq for WebShaderKey
source§fn eq(&self, other: &WebShaderKey) -> bool
fn eq(&self, other: &WebShaderKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for WebShaderKey
impl PartialOrd for WebShaderKey
source§fn partial_cmp(&self, other: &WebShaderKey) -> Option<Ordering>
fn partial_cmp(&self, other: &WebShaderKey) -> 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 WebShaderKey
impl Eq for WebShaderKey
impl StructuralEq for WebShaderKey
impl StructuralPartialEq for WebShaderKey
Auto Trait Implementations§
impl RefUnwindSafe for WebShaderKey
impl Send for WebShaderKey
impl Sync for WebShaderKey
impl Unpin for WebShaderKey
impl UnwindSafe for WebShaderKey
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