pub struct TabStops {
pub positions: Vec<f32>,
pub default_interval: f32,
}Expand description
Tab stop configuration.
Explicit tab stop positions take priority; once exhausted (or when the list
is empty), the Self::default_interval drives implicit stops.
Fields§
§positions: Vec<f32>Explicit tab stop x-positions (sorted ascending).
default_interval: f32Default interval for implicit tab stops (used when positions is empty
or exhausted).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TabStops
impl RefUnwindSafe for TabStops
impl Send for TabStops
impl Sync for TabStops
impl Unpin for TabStops
impl UnsafeUnpin for TabStops
impl UnwindSafe for TabStops
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more