pub struct UnlessBlock;
Available on crate feature
stdlib
only.Implementations§
Source§impl UnlessBlock
impl UnlessBlock
Trait Implementations§
Source§impl BlockReflection for UnlessBlock
impl BlockReflection for UnlessBlock
Source§impl Clone for UnlessBlock
impl Clone for UnlessBlock
Source§fn clone(&self) -> UnlessBlock
fn clone(&self) -> UnlessBlock
Returns a duplicate 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 UnlessBlock
impl Debug for UnlessBlock
Source§impl Default for UnlessBlock
impl Default for UnlessBlock
Source§fn default() -> UnlessBlock
fn default() -> UnlessBlock
Returns the “default value” for a type. Read more
Source§impl ParseBlock for UnlessBlock
impl ParseBlock for UnlessBlock
fn parse( &self, arguments: TagTokenIter<'_>, tokens: TagBlock<'_, '_>, options: &Language, ) -> Result<Box<dyn Renderable>>
fn reflection(&self) -> &dyn BlockReflection
impl Copy for UnlessBlock
Auto Trait Implementations§
impl Freeze for UnlessBlock
impl RefUnwindSafe for UnlessBlock
impl Send for UnlessBlock
impl Sync for UnlessBlock
impl Unpin for UnlessBlock
impl UnwindSafe for UnlessBlock
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