pub enum Representation {
Vector(Vec<f32>),
ComplexVector(Vec<(f32, f32)>),
}Expand description
A numeric representation of one token (FR-015).
Variants§
Vector(Vec<f32>)
Real-valued vector.
ComplexVector(Vec<(f32, f32)>)
Complex-valued vector as (re, im) pairs.
Trait Implementations§
Source§impl Clone for Representation
impl Clone for Representation
Source§impl Debug for Representation
impl Debug for Representation
Source§impl PartialEq for Representation
impl PartialEq for Representation
impl StructuralPartialEq for Representation
Auto Trait Implementations§
impl Forget for Representation
impl Freeze for Representation
impl Move for Representation
impl RefUnwindSafe for Representation
impl Send for Representation
impl Sync for Representation
impl Unpin for Representation
impl UnsafeUnpin for Representation
impl UnwindSafe for Representation
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