pub struct StyleBreak {
pub position: usize,
pub previous: usize,
pub next: usize,
pub distance: Option<u16>,
}Expand description
One reported style discontinuity in a planned order.
Fields§
§position: usizePosition of next in SmartOrder::order, including a cycle boundary.
previous: usizePrevious occurrence’s index in the original selection.
next: usizeNext occurrence’s index in the original selection.
distance: Option<u16>Heuristic genre distance, or None when metadata is missing.
Trait Implementations§
Source§impl Clone for StyleBreak
impl Clone for StyleBreak
Source§fn clone(&self) -> StyleBreak
fn clone(&self) -> StyleBreak
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StyleBreak
impl Debug for StyleBreak
Source§impl PartialEq for StyleBreak
impl PartialEq for StyleBreak
impl Eq for StyleBreak
impl StructuralPartialEq for StyleBreak
Auto Trait Implementations§
impl Freeze for StyleBreak
impl RefUnwindSafe for StyleBreak
impl Send for StyleBreak
impl Sync for StyleBreak
impl Unpin for StyleBreak
impl UnwindSafe for StyleBreak
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