pub struct AlignColumn<T: Token, D: TeXDimen> {
pub left: Box<[T]>,
pub right: Box<[T]>,
pub inbraces: u8,
pub tabskip: Skip<D>,
}Expand description
Specification on a column in an \halign (or a row in a \valign); in particular:
- the alignment template for the column (or row)
- the tabskip to be inserted between the columns (or rows),
- the number of braces to inserted at the beginning of the column (or row).
The latter is important for the Gullet to know when an AlignmentTab
Token (or a \cr) should be passed on or replaced by the relevant template tokens
Fields§
§left: Box<[T]>The tokens to be inserted at the beginning of the column (or row)
right: Box<[T]>The tokens to be inserted at the end of the column (or row)
inbraces: u8The number of braces that are opened by the template tokens
tabskip: Skip<D>The tabskip to be inserted between the columns (or rows)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, D> Freeze for AlignColumn<T, D>where
D: Freeze,
impl<T, D> RefUnwindSafe for AlignColumn<T, D>where
D: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, D> Send for AlignColumn<T, D>
impl<T, D> Sync for AlignColumn<T, D>
impl<T, D> Unpin for AlignColumn<T, D>where
D: Unpin,
impl<T, D> UnsafeUnpin for AlignColumn<T, D>where
D: UnsafeUnpin,
impl<T, D> UnwindSafe for AlignColumn<T, D>where
D: UnwindSafe,
T: UnwindSafe,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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