pub trait ConstElem {
// Required methods
fn write_le(&self, out: &mut Vec<u8>);
fn from_le(bytes: &[u8]) -> Self;
fn value_kind(&self) -> ValueKind;
// Provided method
fn align() -> u8 { ... }
}Required Methods§
fn write_le(&self, out: &mut Vec<u8>)
fn from_le(bytes: &[u8]) -> Self
fn value_kind(&self) -> ValueKind
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl<T> ConstElem for RowDVector<T>
Available on crate feature row_vectord only.
impl<T> ConstElem for RowDVector<T>
Available on crate feature
row_vectord only.Implementors§
impl ConstElem for Value
impl ConstElem for ValueKind
impl ConstElem for MechEnum
Available on crate feature
enum only.impl ConstElem for MechSet
Available on crate feature
set only.impl ConstElem for MechTable
Available on crate feature
table only.impl ConstElem for C64
Available on crate feature
complex only.impl ConstElem for F32
Available on crate feature
f32 only.impl ConstElem for F64
Available on crate feature
f64 only.impl ConstElem for R64
Available on crate feature
rational only.impl<T> ConstElem for Matrix<T>
Available on crate feature
matrix only.