pub struct MyCypherValue<'a>(/* private fields */);Available on crate feature
gdl only.Expand description
A wrapper around gdl::CypherValue to allow custom From implementations.
Trait Implementations§
Source§impl From<MyCypherValue<'_>> for ()
impl From<MyCypherValue<'_>> for ()
Source§fn from(_: MyCypherValue<'_>) -> Self
fn from(_: MyCypherValue<'_>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<MyCypherValue<'a>> for f32
impl<'a> From<MyCypherValue<'a>> for f32
Source§fn from(cv: MyCypherValue<'_>) -> Self
fn from(cv: MyCypherValue<'_>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<MyCypherValue<'a>> for f64
impl<'a> From<MyCypherValue<'a>> for f64
Source§fn from(cv: MyCypherValue<'_>) -> Self
fn from(cv: MyCypherValue<'_>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<MyCypherValue<'a>> for i32
impl<'a> From<MyCypherValue<'a>> for i32
Source§fn from(cv: MyCypherValue<'_>) -> Self
fn from(cv: MyCypherValue<'_>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<MyCypherValue<'a>> for i64
impl<'a> From<MyCypherValue<'a>> for i64
Source§fn from(cv: MyCypherValue<'_>) -> Self
fn from(cv: MyCypherValue<'_>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<MyCypherValue<'a>> for isize
impl<'a> From<MyCypherValue<'a>> for isize
Source§fn from(cv: MyCypherValue<'_>) -> Self
fn from(cv: MyCypherValue<'_>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<MyCypherValue<'a>> for u32
impl<'a> From<MyCypherValue<'a>> for u32
Source§fn from(cv: MyCypherValue<'_>) -> Self
fn from(cv: MyCypherValue<'_>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<MyCypherValue<'a>> for u64
impl<'a> From<MyCypherValue<'a>> for u64
Source§fn from(cv: MyCypherValue<'_>) -> Self
fn from(cv: MyCypherValue<'_>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<MyCypherValue<'a>> for usize
impl<'a> From<MyCypherValue<'a>> for usize
Source§fn from(cv: MyCypherValue<'_>) -> Self
fn from(cv: MyCypherValue<'_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for MyCypherValue<'a>
impl<'a> RefUnwindSafe for MyCypherValue<'a>
impl<'a> Send for MyCypherValue<'a>
impl<'a> Sync for MyCypherValue<'a>
impl<'a> Unpin for MyCypherValue<'a>
impl<'a> UnwindSafe for MyCypherValue<'a>
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