pub struct QueryFunction(pub PlainSymbol);Tuple Fields§
§0: PlainSymbolImplementations§
Source§impl QueryFunction
impl QueryFunction
pub fn from_symbol(sym: &PlainSymbol) -> Option<QueryFunction>
Trait Implementations§
Source§impl Clone for QueryFunction
impl Clone for QueryFunction
Source§fn clone(&self) -> QueryFunction
fn clone(&self) -> QueryFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QueryFunction
impl Debug for QueryFunction
Source§impl Display for QueryFunction
impl Display for QueryFunction
impl Eq for QueryFunction
Source§impl FromValue<QueryFunction> for QueryFunction
impl FromValue<QueryFunction> for QueryFunction
fn from_value(v: &ValueAndSpan) -> Option<QueryFunction>
Source§impl Ord for QueryFunction
impl Ord for QueryFunction
Source§fn cmp(&self, other: &QueryFunction) -> Ordering
fn cmp(&self, other: &QueryFunction) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for QueryFunction
impl PartialEq for QueryFunction
Source§fn eq(&self, other: &QueryFunction) -> bool
fn eq(&self, other: &QueryFunction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for QueryFunction
impl PartialOrd for QueryFunction
impl StructuralPartialEq for QueryFunction
Auto Trait Implementations§
impl Freeze for QueryFunction
impl RefUnwindSafe for QueryFunction
impl Send for QueryFunction
impl Sync for QueryFunction
impl Unpin for QueryFunction
impl UnsafeUnpin for QueryFunction
impl UnwindSafe for QueryFunction
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