pub enum ShaderParserDep {
Struct(StructPtr),
Function(Option<StructPtr>, FnPtr),
}
Variants§
Trait Implementations§
§impl Clone for ShaderParserDep
impl Clone for ShaderParserDep
§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 more§impl Debug for ShaderParserDep
impl Debug for ShaderParserDep
§impl Hash for ShaderParserDep
impl Hash for ShaderParserDep
§impl Ord for ShaderParserDep
impl Ord for ShaderParserDep
§impl PartialEq<ShaderParserDep> for ShaderParserDep
impl PartialEq<ShaderParserDep> for ShaderParserDep
§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 ==
.§impl PartialOrd<ShaderParserDep> for ShaderParserDep
impl PartialOrd<ShaderParserDep> for ShaderParserDep
§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