[−][src]Enum newel::ScalarTy
All Operand
s in newel have an underlying ScalarTy
which is the type of
every element in a homogeneous Slice
operand, or the type of the sole
element of a Const
operand. The ScalarTy
is
for any evaluation step.
Variants
Methods
impl ScalarTy
[src]
pub fn join(self, other: Self) -> Self
[src]
Returns the ScalarTy that's the join of self
and other
: should be
used to decide the type to promote self
and other
to when used as
the two types of a binary operator.
Trait Implementations
impl Clone for ScalarTy
[src]
impl Copy for ScalarTy
[src]
impl Debug for ScalarTy
[src]
impl Eq for ScalarTy
[src]
impl PartialEq<ScalarTy> for ScalarTy
[src]
impl StructuralEq for ScalarTy
[src]
impl StructuralPartialEq for ScalarTy
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScalarTy
impl Send for ScalarTy
impl Sync for ScalarTy
impl Unpin for ScalarTy
impl UnwindSafe for ScalarTy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
[src]
U: FromCast<T>,
impl<T> From<T> for T
[src]
impl<T> FromCast<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,