Struct liquid::model::ValueViewCmp
source · pub struct ValueViewCmp<'v>(_);
Expand description
Value
comparison semantics for types implementing ValueView
.
Implementations§
source§impl<'v> ValueViewCmp<'v>
impl<'v> ValueViewCmp<'v>
sourcepub fn new(v: &dyn ValueView) -> ValueViewCmp<'_>
pub fn new(v: &dyn ValueView) -> ValueViewCmp<'_>
Value
comparison semantics for types implementing ValueView
.
Trait Implementations§
source§impl<'v> Clone for ValueViewCmp<'v>
impl<'v> Clone for ValueViewCmp<'v>
source§fn clone(&self) -> ValueViewCmp<'v>
fn clone(&self) -> ValueViewCmp<'v>
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<'v> Debug for ValueViewCmp<'v>
impl<'v> Debug for ValueViewCmp<'v>
source§impl<'v> PartialEq<&'v str> for ValueViewCmp<'v>
impl<'v> PartialEq<&'v str> for ValueViewCmp<'v>
source§impl<'v> PartialEq<Date> for ValueViewCmp<'v>
impl<'v> PartialEq<Date> for ValueViewCmp<'v>
source§impl<'v> PartialEq<DateTime> for ValueViewCmp<'v>
impl<'v> PartialEq<DateTime> for ValueViewCmp<'v>
source§impl<'v> PartialEq<KStringBase<Box<str, Global>>> for ValueViewCmp<'v>
impl<'v> PartialEq<KStringBase<Box<str, Global>>> for ValueViewCmp<'v>
source§impl<'v> PartialEq<KStringCowBase<'v, Box<str, Global>>> for ValueViewCmp<'v>
impl<'v> PartialEq<KStringCowBase<'v, Box<str, Global>>> for ValueViewCmp<'v>
source§impl<'v> PartialEq<KStringRef<'v>> for ValueViewCmp<'v>
impl<'v> PartialEq<KStringRef<'v>> for ValueViewCmp<'v>
source§fn eq(&self, other: &KStringRef<'v>) -> bool
fn eq(&self, other: &KStringRef<'v>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'v> PartialEq<String> for ValueViewCmp<'v>
impl<'v> PartialEq<String> for ValueViewCmp<'v>
source§impl<'v> PartialEq<ValueViewCmp<'v>> for Value
impl<'v> PartialEq<ValueViewCmp<'v>> for Value
source§fn eq(&self, other: &ValueViewCmp<'v>) -> bool
fn eq(&self, other: &ValueViewCmp<'v>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'v> PartialEq<ValueViewCmp<'v>> for ValueCow<'v>
impl<'v> PartialEq<ValueViewCmp<'v>> for ValueCow<'v>
source§fn eq(&self, other: &ValueViewCmp<'v>) -> bool
fn eq(&self, other: &ValueViewCmp<'v>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'v> PartialEq<ValueViewCmp<'v>> for ValueViewCmp<'v>
impl<'v> PartialEq<ValueViewCmp<'v>> for ValueViewCmp<'v>
source§fn eq(&self, other: &ValueViewCmp<'v>) -> bool
fn eq(&self, other: &ValueViewCmp<'v>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'v> PartialEq<bool> for ValueViewCmp<'v>
impl<'v> PartialEq<bool> for ValueViewCmp<'v>
source§impl<'v> PartialEq<f64> for ValueViewCmp<'v>
impl<'v> PartialEq<f64> for ValueViewCmp<'v>
source§impl<'v> PartialEq<i64> for ValueViewCmp<'v>
impl<'v> PartialEq<i64> for ValueViewCmp<'v>
source§impl<'v> PartialEq<str> for ValueViewCmp<'v>
impl<'v> PartialEq<str> for ValueViewCmp<'v>
source§impl<'v> PartialOrd<ValueViewCmp<'v>> for ValueViewCmp<'v>
impl<'v> PartialOrd<ValueViewCmp<'v>> for ValueViewCmp<'v>
source§fn partial_cmp(&self, other: &ValueViewCmp<'v>) -> Option<Ordering>
fn partial_cmp(&self, other: &ValueViewCmp<'v>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'v> Copy for ValueViewCmp<'v>
Auto Trait Implementations§
impl<'v> !RefUnwindSafe for ValueViewCmp<'v>
impl<'v> !Send for ValueViewCmp<'v>
impl<'v> !Sync for ValueViewCmp<'v>
impl<'v> Unpin for ValueViewCmp<'v>
impl<'v> !UnwindSafe for ValueViewCmp<'v>
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