Struct liquid_lib::stdlib::IfBlock
source · [−]pub struct IfBlock;
Implementations
Trait Implementations
sourceimpl BlockReflection for IfBlock
impl BlockReflection for IfBlock
sourceimpl ParseBlock for IfBlock
impl ParseBlock for IfBlock
fn parse(
&self,
arguments: TagTokenIter<'_>,
tokens: TagBlock<'_, '_>,
options: &Language
) -> Result<Box<dyn Renderable>>
fn reflection(&self) -> &dyn BlockReflection
impl Copy for IfBlock
Auto Trait Implementations
impl RefUnwindSafe for IfBlock
impl Send for IfBlock
impl Sync for IfBlock
impl Unpin for IfBlock
impl UnwindSafe for IfBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ParseBlockClone for T where
T: 'static + ParseBlock + Clone,
impl<T> ParseBlockClone for T where
T: 'static + ParseBlock + Clone,
fn clone_box(&self) -> Box<dyn ParseBlock + 'static, Global>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more