[−][src]Enum tract_core::datum::DatumType
Variants
Bool
U8
U16
I8
I16
I32
I64
F16
F32
F64
TDim
String
Methods
impl DatumType
[src]
pub fn super_types(&self) -> &'static [DatumType]
[src]
pub fn super_type_for<I: IntoIterator<Item = DatumType>>(
i: I
) -> Option<DatumType>
[src]
i: I
) -> Option<DatumType>
pub fn common_super_type(&self, rhs: DatumType) -> Option<DatumType>
[src]
pub fn size_of(&self) -> usize
[src]
pub fn alignment(&self) -> usize
[src]
Trait Implementations
impl IntoExp<GenericFact<DatumType>> for DatumType
[src]
impl<'a> IntoExp<GenericFact<DatumType>> for &'a DatumType
[src]
impl Clone for DatumType
[src]
fn clone(&self) -> DatumType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<DatumType> for DatumType
[src]
fn eq(&self, other: &DatumType) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Copy for DatumType
[src]
impl Debug for DatumType
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, E> IntoExp for E where
E: 'static + TExp<T>,
[src]
E: 'static + TExp<T>,
impl<PB, Tract> ToTract for PB where
Tract: Tractify<PB>,
[src]
Tract: Tractify<PB>,
fn tractify(&Self) -> Result<Tract, TractError>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> Clone for T where
T: Clone,
[src]
T: Clone,