pub struct ConstructorDec<'st>(pub Symbol<'st>, pub &'st [SelectorDec<'st>]);
Expand description
(<symbol> <selector_dec>*)
Tuple Fields§
§0: Symbol<'st>
§1: &'st [SelectorDec<'st>]
Implementations§
Source§impl<'st> ConstructorDec<'st>
impl<'st> ConstructorDec<'st>
Trait Implementations§
Source§impl<'st> Clone for ConstructorDec<'st>
impl<'st> Clone for ConstructorDec<'st>
Source§fn clone(&self) -> ConstructorDec<'st>
fn clone(&self) -> ConstructorDec<'st>
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<'st> Debug for ConstructorDec<'st>
impl<'st> Debug for ConstructorDec<'st>
Source§impl Display for ConstructorDec<'_>
impl Display for ConstructorDec<'_>
Source§impl<'st> Hash for ConstructorDec<'st>
impl<'st> Hash for ConstructorDec<'st>
Source§impl<'st> PartialEq for ConstructorDec<'st>
impl<'st> PartialEq for ConstructorDec<'st>
impl<'st> Copy for ConstructorDec<'st>
impl<'st> Eq for ConstructorDec<'st>
impl<'st> StructuralPartialEq for ConstructorDec<'st>
Auto Trait Implementations§
impl<'st> Freeze for ConstructorDec<'st>
impl<'st> RefUnwindSafe for ConstructorDec<'st>
impl<'st> Send for ConstructorDec<'st>
impl<'st> Sync for ConstructorDec<'st>
impl<'st> Unpin for ConstructorDec<'st>
impl<'st> UnwindSafe for ConstructorDec<'st>
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<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