pub enum PropValueRef<'a> {
Bool(bool),
I8(i8),
U8(u8),
I32(i32),
U32(u32),
I64(i64),
U64(u64),
F32(f32),
F64(f64),
Str(&'a str),
}Expand description
A borrowed, non-null per-feature property value.
Nullability is lifted to ColumnRef: only non-null values appear in
FeatureRef::iter_properties.
Variants§
Trait Implementations§
Source§impl<'a> Clone for PropValueRef<'a>
impl<'a> Clone for PropValueRef<'a>
Source§fn clone(&self) -> PropValueRef<'a>
fn clone(&self) -> PropValueRef<'a>
Returns a duplicate 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<'a> Debug for PropValueRef<'a>
impl<'a> Debug for PropValueRef<'a>
Source§impl From<PropValueRef<'_>> for Value
impl From<PropValueRef<'_>> for Value
Source§fn from(v: PropValueRef<'_>) -> Self
fn from(v: PropValueRef<'_>) -> Self
Converts to this type from the input type.
Source§impl From<bool> for PropValueRef<'_>
impl From<bool> for PropValueRef<'_>
Source§impl From<f32> for PropValueRef<'_>
impl From<f32> for PropValueRef<'_>
Source§impl From<f64> for PropValueRef<'_>
impl From<f64> for PropValueRef<'_>
Source§impl From<i32> for PropValueRef<'_>
impl From<i32> for PropValueRef<'_>
Source§impl From<i64> for PropValueRef<'_>
impl From<i64> for PropValueRef<'_>
Source§impl From<i8> for PropValueRef<'_>
impl From<i8> for PropValueRef<'_>
Source§impl From<u32> for PropValueRef<'_>
impl From<u32> for PropValueRef<'_>
Source§impl From<u64> for PropValueRef<'_>
impl From<u64> for PropValueRef<'_>
Source§impl From<u8> for PropValueRef<'_>
impl From<u8> for PropValueRef<'_>
Source§impl<'a> PartialEq for PropValueRef<'a>
impl<'a> PartialEq for PropValueRef<'a>
impl<'a> Copy for PropValueRef<'a>
impl<'a> StructuralPartialEq for PropValueRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for PropValueRef<'a>
impl<'a> RefUnwindSafe for PropValueRef<'a>
impl<'a> Send for PropValueRef<'a>
impl<'a> Sync for PropValueRef<'a>
impl<'a> Unpin for PropValueRef<'a>
impl<'a> UnsafeUnpin for PropValueRef<'a>
impl<'a> UnwindSafe for PropValueRef<'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> 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