Struct glsl_lang_pp::parser::lang::PreprocessorLang
source · pub struct PreprocessorLang;
Trait Implementations§
source§impl Clone for PreprocessorLang
impl Clone for PreprocessorLang
source§fn clone(&self) -> PreprocessorLang
fn clone(&self) -> PreprocessorLang
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 PreprocessorLang
impl Debug for PreprocessorLang
source§impl Default for PreprocessorLang
impl Default for PreprocessorLang
source§fn default() -> PreprocessorLang
fn default() -> PreprocessorLang
Returns the “default value” for a type. Read more
source§impl Hash for PreprocessorLang
impl Hash for PreprocessorLang
source§impl Language for PreprocessorLang
impl Language for PreprocessorLang
type Kind = SyntaxKind
fn kind_from_raw(raw: SyntaxKind) -> Self::Kind
fn kind_to_raw(kind: Self::Kind) -> SyntaxKind
source§impl Ord for PreprocessorLang
impl Ord for PreprocessorLang
source§fn cmp(&self, other: &PreprocessorLang) -> Ordering
fn cmp(&self, other: &PreprocessorLang) -> 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 PreprocessorLang
impl PartialEq for PreprocessorLang
source§impl PartialOrd for PreprocessorLang
impl PartialOrd for PreprocessorLang
impl Copy for PreprocessorLang
impl Eq for PreprocessorLang
impl StructuralPartialEq for PreprocessorLang
Auto Trait Implementations§
impl Freeze for PreprocessorLang
impl RefUnwindSafe for PreprocessorLang
impl Send for PreprocessorLang
impl Sync for PreprocessorLang
impl Unpin for PreprocessorLang
impl UnwindSafe for PreprocessorLang
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more