#[repr(C)]pub enum DmapScalar {
Char(i8),
Short(i16),
Int(i32),
Long(i64),
Uchar(u8),
Ushort(u16),
Uint(u32),
Ulong(u64),
Float(f32),
Double(f64),
String(String),
}Expand description
A scalar field in a DMAP record.
Variants§
Char(i8)
Short(i16)
Int(i32)
Long(i64)
Uchar(u8)
Ushort(u16)
Uint(u32)
Ulong(u64)
Float(f32)
Double(f64)
String(String)
Trait Implementations§
Source§impl Clone for DmapScalar
impl Clone for DmapScalar
Source§fn clone(&self) -> DmapScalar
fn clone(&self) -> DmapScalar
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 Debug for DmapScalar
impl Debug for DmapScalar
Source§impl Display for DmapScalar
impl Display for DmapScalar
Source§impl<'py> FromPyObject<'py> for DmapScalar
impl<'py> FromPyObject<'py> for DmapScalar
Source§impl<'py> IntoPyObject<'py> for DmapScalar
impl<'py> IntoPyObject<'py> for DmapScalar
Source§type Output = Bound<'py, <DmapScalar as IntoPyObject<'py>>::Target>
type Output = Bound<'py, <DmapScalar as IntoPyObject<'py>>::Target>
The smart pointer type to use. Read more
Source§fn into_pyobject(
self,
py: Python<'py>,
) -> Result<<Self as IntoPyObject<'py>>::Output, <Self as IntoPyObject<'py>>::Error>
fn into_pyobject( self, py: Python<'py>, ) -> Result<<Self as IntoPyObject<'py>>::Output, <Self as IntoPyObject<'py>>::Error>
Performs the conversion.
Source§impl PartialEq for DmapScalar
impl PartialEq for DmapScalar
Source§impl TryFrom<DmapScalar> for String
impl TryFrom<DmapScalar> for String
Source§impl TryFrom<DmapScalar> for f32
impl TryFrom<DmapScalar> for f32
Source§impl TryFrom<DmapScalar> for f64
impl TryFrom<DmapScalar> for f64
Source§impl TryFrom<DmapScalar> for i16
impl TryFrom<DmapScalar> for i16
Source§impl TryFrom<DmapScalar> for i32
impl TryFrom<DmapScalar> for i32
Source§impl TryFrom<DmapScalar> for i64
impl TryFrom<DmapScalar> for i64
Source§impl TryFrom<DmapScalar> for i8
impl TryFrom<DmapScalar> for i8
Source§impl TryFrom<DmapScalar> for u16
impl TryFrom<DmapScalar> for u16
Source§impl TryFrom<DmapScalar> for u32
impl TryFrom<DmapScalar> for u32
Source§impl TryFrom<DmapScalar> for u64
impl TryFrom<DmapScalar> for u64
Source§impl TryFrom<DmapScalar> for u8
impl TryFrom<DmapScalar> for u8
impl StructuralPartialEq for DmapScalar
Auto Trait Implementations§
impl Freeze for DmapScalar
impl RefUnwindSafe for DmapScalar
impl Send for DmapScalar
impl Sync for DmapScalar
impl Unpin for DmapScalar
impl UnwindSafe for DmapScalar
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<'py, T> FromPyObjectBound<'_, 'py> for Twhere
T: FromPyObject<'py>,
impl<'py, T> FromPyObjectBound<'_, 'py> for Twhere
T: FromPyObject<'py>,
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 moreSource§impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
Source§fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
Converts
self into an owned Python object, dropping type information.