pub enum ShaderParserDep {
Struct(StructPtr),
Function(Option<StructPtr>, FnPtr),
}
Variants§
Trait Implementations§
source§impl Clone for ShaderParserDep
impl Clone for ShaderParserDep
source§fn clone(&self) -> ShaderParserDep
fn clone(&self) -> ShaderParserDep
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 ShaderParserDep
impl Debug for ShaderParserDep
source§impl Hash for ShaderParserDep
impl Hash for ShaderParserDep
source§impl Ord for ShaderParserDep
impl Ord for ShaderParserDep
source§fn cmp(&self, other: &ShaderParserDep) -> Ordering
fn cmp(&self, other: &ShaderParserDep) -> 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<ShaderParserDep> for ShaderParserDep
impl PartialEq<ShaderParserDep> for ShaderParserDep
source§fn eq(&self, other: &ShaderParserDep) -> bool
fn eq(&self, other: &ShaderParserDep) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ShaderParserDep> for ShaderParserDep
impl PartialOrd<ShaderParserDep> for ShaderParserDep
source§fn partial_cmp(&self, other: &ShaderParserDep) -> Option<Ordering>
fn partial_cmp(&self, other: &ShaderParserDep) -> 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 ShaderParserDep
impl Eq for ShaderParserDep
impl StructuralEq for ShaderParserDep
impl StructuralPartialEq for ShaderParserDep
Auto Trait Implementations§
impl RefUnwindSafe for ShaderParserDep
impl Send for ShaderParserDep
impl Sync for ShaderParserDep
impl Unpin for ShaderParserDep
impl UnwindSafe for ShaderParserDep
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