pub struct DeclarationBlock { /* private fields */ }
Implementations§
source§impl DeclarationBlock
impl DeclarationBlock
pub fn parse(parser: &mut Parser<'_, '_>) -> Self
pub fn cascade_normal(&self, phase: &mut impl Phase)
pub fn cascade_important(&self, phase: &mut impl Phase)
Trait Implementations§
source§impl Debug for DeclarationBlock
impl Debug for DeclarationBlock
source§impl Default for DeclarationBlock
impl Default for DeclarationBlock
source§fn default() -> DeclarationBlock
fn default() -> DeclarationBlock
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeclarationBlock
impl RefUnwindSafe for DeclarationBlock
impl Send for DeclarationBlock
impl Sync for DeclarationBlock
impl Unpin for DeclarationBlock
impl UnwindSafe for DeclarationBlock
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> 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