Enum tract_pulse::internal::TDim [−]
pub enum TDim {
Sym(Symbol),
Val(i64),
Add(Vec<TDim, Global>),
Mul(Vec<TDim, Global>),
MulInt(i64, Box<TDim, Global>),
Div(Box<TDim, Global>, u64),
}Variants
Sym(Symbol)Tuple Fields of Sym
0: SymbolVal(i64)Tuple Fields of Val
0: i64Implementations
impl TDim
impl TDim
pub fn eval(&self, values: &SymbolValues) -> TDim
pub fn symbols(&self) -> HashSet<Symbol, RandomState>
Trait Implementations
pub fn add_assign(&mut self, rhs: &'a TDim)
pub fn add_assign(&mut self, rhs: &'a TDim)
Performs the += operation. Read more
pub fn add_assign(&mut self, rhs: I)
pub fn add_assign(&mut self, rhs: I)
Performs the += operation. Read more
impl CoerceFrom<Value> for TDim
impl CoerceFrom<Value> for TDim
pub fn coerce(
_builder: &mut ModelBuilder<'_>,
from: &Value
) -> Result<TDim, Error>
pub fn eval(&self, values: &SymbolValues) -> TDim
impl<I> Div<I> for TDim where
I: AsPrimitive<u64> + PrimInt,
impl<I> Div<I> for TDim where
I: AsPrimitive<u64> + PrimInt,
impl<I> DivAssign<I> for TDim where
I: AsPrimitive<u64> + PrimInt,
impl<I> DivAssign<I> for TDim where
I: AsPrimitive<u64> + PrimInt,
pub fn div_assign(&mut self, rhs: I)
pub fn div_assign(&mut self, rhs: I)
Performs the /= operation. Read more
pub fn mul_assign(&mut self, rhs: &'a TDim)
pub fn mul_assign(&mut self, rhs: &'a TDim)
Performs the *= operation. Read more
pub fn mul_assign(&mut self, rhs: I)
pub fn mul_assign(&mut self, rhs: I)
Performs the *= operation. Read more
impl PartialOrd<TDim> for TDim
impl PartialOrd<TDim> for TDim
pub fn partial_cmp(&self, other: &TDim) -> Option<Ordering>
pub fn partial_cmp(&self, other: &TDim) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
impl<I> Rem<I> for TDim where
I: AsPrimitive<u64> + PrimInt,
impl<I> Rem<I> for TDim where
I: AsPrimitive<u64> + PrimInt,
impl<I> RemAssign<I> for TDim where
I: AsPrimitive<u64> + PrimInt,
impl<I> RemAssign<I> for TDim where
I: AsPrimitive<u64> + PrimInt,
pub fn rem_assign(&mut self, rhs: I)
pub fn rem_assign(&mut self, rhs: I)
Performs the %= operation. Read more
pub fn sub_assign(&mut self, rhs: &'a TDim)
pub fn sub_assign(&mut self, rhs: &'a TDim)
Performs the -= operation. Read more
pub fn sub_assign(&mut self, rhs: I)
pub fn sub_assign(&mut self, rhs: I)
Performs the -= operation. Read more
impl StructuralEq for TDim
impl StructuralPartialEq for TDim
Auto Trait Implementations
impl RefUnwindSafe for TDim
impl UnwindSafe for TDim
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘimpl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘimpl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;
impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s. Read more
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s. Read more