pub struct ShapeFrame {
pub class: u32,
pub period: u16,
pub period_strength: f32,
pub novelty: f32,
}Expand description
One token’s structural reading.
Fields§
§class: u32The token’s shape_class code.
period: u16Dominant shape-period of the neighbourhood, in tokens (0 = none).
period_strength: f32Normalised silhouette-autocorrelation peak [0,1].
novelty: f32Shape n-gram surprise [0,1] (1 = first sighting of this template).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShapeFrame
impl RefUnwindSafe for ShapeFrame
impl Send for ShapeFrame
impl Sync for ShapeFrame
impl Unpin for ShapeFrame
impl UnsafeUnpin for ShapeFrame
impl UnwindSafe for ShapeFrame
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