Struct liquid_lib::stdlib::ForloopObject  
source · pub struct ForloopObject<'p> { /* private fields */ }Available on crate feature 
stdlib only.Implementations§
Trait Implementations§
source§impl<'p> Clone for ForloopObject<'p>
 
impl<'p> Clone for ForloopObject<'p>
source§fn clone(&self) -> ForloopObject<'p>
 
fn clone(&self) -> ForloopObject<'p>
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<'p> Debug for ForloopObject<'p>
 
impl<'p> Debug for ForloopObject<'p>
source§impl<'p> ObjectView for ForloopObject<'p>
 
impl<'p> ObjectView for ForloopObject<'p>
source§fn keys<'liquid_derive_k>(
    &'liquid_derive_k self
) -> Box<dyn Iterator<Item = KStringCow<'liquid_derive_k>> + 'liquid_derive_k>
 
fn keys<'liquid_derive_k>( &'liquid_derive_k self ) -> Box<dyn Iterator<Item = KStringCow<'liquid_derive_k>> + 'liquid_derive_k>
Keys available for lookup.
source§fn values<'liquid_derive_k>(
    &'liquid_derive_k self
) -> Box<dyn Iterator<Item = &'liquid_derive_k dyn ValueView> + 'liquid_derive_k>
 
fn values<'liquid_derive_k>( &'liquid_derive_k self ) -> Box<dyn Iterator<Item = &'liquid_derive_k dyn ValueView> + 'liquid_derive_k>
Keys available for lookup.
source§fn iter<'liquid_derive_k>(
    &'liquid_derive_k self
) -> Box<dyn Iterator<Item = (KStringCow<'liquid_derive_k>, &'liquid_derive_k dyn ValueView)> + 'liquid_derive_k>
 
fn iter<'liquid_derive_k>( &'liquid_derive_k self ) -> Box<dyn Iterator<Item = (KStringCow<'liquid_derive_k>, &'liquid_derive_k dyn ValueView)> + 'liquid_derive_k>
Returns an iterator .
source§fn contains_key(&self, index: &str) -> bool
 
fn contains_key(&self, index: &str) -> bool
Access a contained 
BoxedValue.source§impl<'p> ValueView for ForloopObject<'p>
 
impl<'p> ValueView for ForloopObject<'p>
source§fn render(&self) -> DisplayCow<'_>
 
fn render(&self) -> DisplayCow<'_>
A 
Display for a BoxedValue rendered for the user.source§fn source(&self) -> DisplayCow<'_>
 
fn source(&self) -> DisplayCow<'_>
A 
Display for a Value as source code.source§fn query_state(&self, state: State) -> bool
 
fn query_state(&self, state: State) -> bool
Query the value’s state
source§fn to_kstr(&self) -> KStringCow<'_>
 
fn to_kstr(&self) -> KStringCow<'_>
Interpret as a string.
source§fn as_object(&self) -> Option<&dyn ObjectView>
 
fn as_object(&self) -> Option<&dyn ObjectView>
Extracts the object value if it is a object.
Auto Trait Implementations§
impl<'p> Freeze for ForloopObject<'p>
impl<'p> !RefUnwindSafe for ForloopObject<'p>
impl<'p> !Send for ForloopObject<'p>
impl<'p> !Sync for ForloopObject<'p>
impl<'p> Unpin for ForloopObject<'p>
impl<'p> !UnwindSafe for ForloopObject<'p>
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