pub enum FieldValue {
}Expand description
Special type for Entity field value that can be converted
into Rust type using try_into.
Variants§
Boolean(bool)
String(String)
Float(f32)
Vector2D([f32; 2])
Vector3D([f32; 3])
Vector4D([f32; 4])
Signed8(i8)
Signed16(i16)
Signed32(i32)
Signed64(i64)
Unsigned8(u8)
Unsigned16(u16)
Unsigned32(u32)
Unsigned64(u64)
Trait Implementations§
Source§impl Clone for FieldValue
impl Clone for FieldValue
Source§fn clone(&self) -> FieldValue
fn clone(&self) -> FieldValue
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FieldValue
impl Debug for FieldValue
Source§impl Display for FieldValue
impl Display for FieldValue
Source§impl PartialEq for FieldValue
impl PartialEq for FieldValue
Source§impl TryInto<String> for &FieldValue
impl TryInto<String> for &FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<String> for FieldValue
impl TryInto<String> for FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<bool> for &FieldValue
impl TryInto<bool> for &FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<bool> for FieldValue
impl TryInto<bool> for FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<f32> for &FieldValue
impl TryInto<f32> for &FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<f32> for FieldValue
impl TryInto<f32> for FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<i128> for &FieldValue
impl TryInto<i128> for &FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<i128> for FieldValue
impl TryInto<i128> for FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<i16> for &FieldValue
impl TryInto<i16> for &FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<i16> for FieldValue
impl TryInto<i16> for FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<i32> for &FieldValue
impl TryInto<i32> for &FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<i32> for FieldValue
impl TryInto<i32> for FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<i64> for &FieldValue
impl TryInto<i64> for &FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<i64> for FieldValue
impl TryInto<i64> for FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<i8> for &FieldValue
impl TryInto<i8> for &FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<i8> for FieldValue
impl TryInto<i8> for FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<isize> for &FieldValue
impl TryInto<isize> for &FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<isize> for FieldValue
impl TryInto<isize> for FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<u128> for &FieldValue
impl TryInto<u128> for &FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<u128> for FieldValue
impl TryInto<u128> for FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<u16> for &FieldValue
impl TryInto<u16> for &FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<u16> for FieldValue
impl TryInto<u16> for FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<u32> for &FieldValue
impl TryInto<u32> for &FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<u32> for FieldValue
impl TryInto<u32> for FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<u64> for &FieldValue
impl TryInto<u64> for &FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<u64> for FieldValue
impl TryInto<u64> for FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<u8> for &FieldValue
impl TryInto<u8> for &FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<u8> for FieldValue
impl TryInto<u8> for FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<usize> for &FieldValue
impl TryInto<usize> for &FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
Source§impl TryInto<usize> for FieldValue
impl TryInto<usize> for FieldValue
Source§type Error = FieldValueError
type Error = FieldValueError
The type returned in the event of a conversion error.
impl StructuralPartialEq for FieldValue
Auto Trait Implementations§
impl Freeze for FieldValue
impl RefUnwindSafe for FieldValue
impl Send for FieldValue
impl Sync for FieldValue
impl Unpin for FieldValue
impl UnwindSafe for FieldValue
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)