Struct liquid_core::runtime::InterruptRegister
source · [−]pub struct InterruptRegister { /* private fields */ }Expand description
The current interrupt state. The interrupt state is used by
the break and continue tags to halt template rendering
at a given point and unwind the render call stack until
it reaches an enclosing for_loop. At that point the interrupt
is cleared, and the for_loop carries on processing as directed.
Implementations
Trait Implementations
sourceimpl Clone for InterruptRegister
impl Clone for InterruptRegister
sourcefn clone(&self) -> InterruptRegister
fn clone(&self) -> InterruptRegister
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for InterruptRegister
impl Debug for InterruptRegister
sourceimpl Default for InterruptRegister
impl Default for InterruptRegister
sourcefn default() -> InterruptRegister
fn default() -> InterruptRegister
Returns the “default value” for a type. Read more
sourceimpl PartialEq<InterruptRegister> for InterruptRegister
impl PartialEq<InterruptRegister> for InterruptRegister
sourcefn eq(&self, other: &InterruptRegister) -> bool
fn eq(&self, other: &InterruptRegister) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &InterruptRegister) -> bool
fn ne(&self, other: &InterruptRegister) -> bool
This method tests for !=.
impl Eq for InterruptRegister
impl StructuralEq for InterruptRegister
impl StructuralPartialEq for InterruptRegister
Auto Trait Implementations
impl RefUnwindSafe for InterruptRegister
impl Send for InterruptRegister
impl Sync for InterruptRegister
impl Unpin for InterruptRegister
impl UnwindSafe for InterruptRegister
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> 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