pub struct Scalar;Trait Implementations§
impl BareValueDomain for Scalar
Source§impl GroupingValue for Scalar
impl GroupingValue for Scalar
type Key = GraphRecordValue
fn to_group_key(value: &Self::Value<'_>) -> <Self::Key as IndexDomain>::Owned
impl ReturnValueDomain for Scalar
Source§impl StringValue for Scalar
impl StringValue for Scalar
fn into_string( label: &'static str, value: Self::Value<'_>, ) -> QueryResult<String>
fn from_string<'a>(_role: &Self::Value<'_>, value: String) -> Self::Value<'a>
Source§impl ValueAbsolute for Scalar
impl ValueAbsolute for Scalar
Source§impl ValueCast<Bool> for Scalar
impl ValueCast<Bool> for Scalar
fn cast<'a>( label: &'static str, value: Self::Value<'a>, _target: &BoolTarget, ) -> QueryResult<Self::Value<'a>>
Source§impl ValueCast<DateTime> for Scalar
impl ValueCast<DateTime> for Scalar
fn cast<'a>( label: &'static str, value: Self::Value<'a>, _target: &DateTimeTarget, ) -> QueryResult<Self::Value<'a>>
Source§impl ValueCast<Duration> for Scalar
impl ValueCast<Duration> for Scalar
fn cast<'a>( label: &'static str, value: Self::Value<'a>, _target: &DurationTarget, ) -> QueryResult<Self::Value<'a>>
Source§impl ValueCast<Float> for Scalar
impl ValueCast<Float> for Scalar
fn cast<'a>( label: &'static str, value: Self::Value<'a>, _target: &FloatTarget, ) -> QueryResult<Self::Value<'a>>
Source§impl ValueCast<String> for Scalar
impl ValueCast<String> for Scalar
fn cast<'a>( _label: &'static str, value: Self::Value<'a>, _target: &StringTarget, ) -> QueryResult<Self::Value<'a>>
Source§impl ValueCubeRoot for Scalar
impl ValueCubeRoot for Scalar
Source§impl ValueDivide for Scalar
impl ValueDivide for Scalar
Source§impl ValueDomain for Scalar
impl ValueDomain for Scalar
type Owned = GraphRecordValue
type Value<'a> = GraphRecordValue
fn into_owned(value: Self::Value<'_>) -> Self::Owned
fn from_owned(owned: &Self::Owned) -> Self::Value<'_>
Source§impl ValueEquality for Scalar
impl ValueEquality for Scalar
Source§impl ValueEquivalence for Scalar
impl ValueEquivalence for Scalar
type Key = GraphRecordValue
fn equivalence_key(value: &Self::Value<'_>) -> Self::Key
Source§impl ValueExponential for Scalar
impl ValueExponential for Scalar
fn exponential<'a>( label: &'static str, value: Self::Value<'a>, ) -> QueryResult<Self::Value<'a>>
Source§impl ValueFloor for Scalar
impl ValueFloor for Scalar
Source§impl ValueKindTest for Scalar
impl ValueKindTest for Scalar
fn kind(value: &Self::Value<'_>) -> PayloadKind
Source§impl ValueLogarithm for Scalar
impl ValueLogarithm for Scalar
Source§impl ValueMedian for Scalar
impl ValueMedian for Scalar
fn validate_median( label: &'static str, value: &Self::Value<'_>, ) -> QueryResult<()>
fn find_incomparable_median_values<'a, 'b>(
values: impl Iterator<Item = &'a Self::Value<'b>>,
) -> Option<(usize, usize)>where
Self::Value<'b>: 'a,
fn median<'a>( _label: &'static str, lower: Self::Value<'a>, upper: Option<Self::Value<'a>>, ) -> QueryResult<Self::Value<'a>>
impl ValueMode for Scalar
Source§impl ValueModulo for Scalar
impl ValueModulo for Scalar
Source§impl ValueMultiply for Scalar
impl ValueMultiply for Scalar
Source§impl ValueNegate for Scalar
impl ValueNegate for Scalar
Source§impl ValueOrdering for Scalar
impl ValueOrdering for Scalar
Source§impl ValuePower for Scalar
impl ValuePower for Scalar
Source§impl ValueRound for Scalar
impl ValueRound for Scalar
Source§impl ValueScalar for Scalar
impl ValueScalar for Scalar
fn into_scalar( _label: &'static str, value: Self::Value<'_>, ) -> QueryResult<GraphRecordValue>
fn from_scalar<'a>( _role: &Self::Value<'_>, value: GraphRecordValue, ) -> Self::Value<'a>
impl ValueScalarKindTest for Scalar
Source§impl ValueSquareRoot for Scalar
impl ValueSquareRoot for Scalar
fn square_root<'a>( label: &'static str, value: Self::Value<'a>, ) -> QueryResult<Self::Value<'a>>
Source§impl ValueSubtract for Scalar
impl ValueSubtract for Scalar
Source§impl ValueTransition<AttributeName> for Scalar
impl ValueTransition<AttributeName> for Scalar
fn transition<'a>( label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<AttributeName as ValueDomain>::Value<'a>>
Source§impl ValueTransition<IndexValue<AttributeName>> for Scalar
impl ValueTransition<IndexValue<AttributeName>> for Scalar
fn transition<'a>( label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<IndexValue<AttributeName> as ValueDomain>::Value<'a>>
Source§impl ValueTransition<IndexValue<GraphRecordAttribute>> for Scalar
impl ValueTransition<IndexValue<GraphRecordAttribute>> for Scalar
fn transition<'a>( label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<IndexValue<NodeIndex> as ValueDomain>::Value<'a>>
Source§impl ValueTransition<IndexValue<GraphRecordValue>> for Scalar
impl ValueTransition<IndexValue<GraphRecordValue>> for Scalar
fn transition<'a>( _label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<IndexValue<GraphRecordValue> as ValueDomain>::Value<'a>>
Source§impl ValueTransition<IndexValue<Positional>> for Scalar
impl ValueTransition<IndexValue<Positional>> for Scalar
fn transition<'a>( label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<IndexValue<Positional> as ValueDomain>::Value<'a>>
Source§impl ValueTransition<IndexValue<bool>> for Scalar
impl ValueTransition<IndexValue<bool>> for Scalar
fn transition<'a>( label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<IndexValue<bool> as ValueDomain>::Value<'a>>
Source§impl ValueTransition<IndexValue<u32>> for Scalar
impl ValueTransition<IndexValue<u32>> for Scalar
fn transition<'a>( label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<IndexValue<EdgeIndex> as ValueDomain>::Value<'a>>
Source§impl ValueTransition<Mask> for Scalar
impl ValueTransition<Mask> for Scalar
fn transition<'a>( label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<Mask as ValueDomain>::Value<'a>>
Source§impl ValueTransition<Scalar> for IndexValue<GraphRecordValue>
impl ValueTransition<Scalar> for IndexValue<GraphRecordValue>
fn transition<'a>( _label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<Scalar as ValueDomain>::Value<'a>>
Source§impl ValueTransition<Scalar> for AttributeName
impl ValueTransition<Scalar> for AttributeName
fn transition<'a>( _label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<Scalar as ValueDomain>::Value<'a>>
Source§impl ValueTransition<Scalar> for IndexValue<NodeIndex>
impl ValueTransition<Scalar> for IndexValue<NodeIndex>
fn transition<'a>( _label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<Scalar as ValueDomain>::Value<'a>>
Source§impl ValueTransition<Scalar> for IndexValue<AttributeName>
impl ValueTransition<Scalar> for IndexValue<AttributeName>
fn transition<'a>( _label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<Scalar as ValueDomain>::Value<'a>>
Source§impl ValueTransition<Scalar> for Mask
impl ValueTransition<Scalar> for Mask
fn transition<'a>( _label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<Scalar as ValueDomain>::Value<'a>>
Source§impl ValueTransition<Scalar> for IndexValue<bool>
impl ValueTransition<Scalar> for IndexValue<bool>
fn transition<'a>( _label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<Scalar as ValueDomain>::Value<'a>>
Source§impl ValueTransition<Scalar> for IndexValue<EdgeIndex>
impl ValueTransition<Scalar> for IndexValue<EdgeIndex>
fn transition<'a>( _label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<Scalar as ValueDomain>::Value<'a>>
Source§impl ValueTransition<Scalar> for IndexValue<Positional>
impl ValueTransition<Scalar> for IndexValue<Positional>
fn transition<'a>( label: &'static str, value: Self::Value<'a>, ) -> QueryResult<<Scalar as ValueDomain>::Value<'a>>
Auto Trait Implementations§
impl Freeze for Scalar
impl RefUnwindSafe for Scalar
impl Send for Scalar
impl Sync for Scalar
impl Unpin for Scalar
impl UnsafeUnpin for Scalar
impl UnwindSafe for Scalar
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