pub struct LabeledArrow {
pub arrow: ArrowKind,
pub over: Option<Node>,
pub under: Option<Node>,
}Expand description
An arrow carrying text above, below or on both sides.
The arrow is the construct itself, so its text slots are the only slots. The shapes MathType draws as a pair of arrows of different sizes, the large-over-small and small-over-large arrows and harpoons, keep their two strokes in the layout rather than in the tree.
Fields§
§arrow: ArrowKind§over: Option<Node>Text above the arrow.
under: Option<Node>Text below the arrow.
Implementations§
Trait Implementations§
Source§impl Clone for LabeledArrow
impl Clone for LabeledArrow
Source§impl Debug for LabeledArrow
impl Debug for LabeledArrow
Source§impl PartialEq for LabeledArrow
impl PartialEq for LabeledArrow
impl StructuralPartialEq for LabeledArrow
Auto Trait Implementations§
impl Forget for LabeledArrow
impl Freeze for LabeledArrowwhere
*const u8 is !null: Freeze,
PhantomData<Node>: Freeze,
*const TextRun is !null: Freeze,
PhantomData<TextRun>: Freeze,
*const Frac is !null: Freeze,
PhantomData<Frac>: Freeze,
*const Sqrt is !null: Freeze,
PhantomData<Sqrt>: Freeze,
*const Scripts is !null: Freeze,
PhantomData<Scripts>: Freeze,
*const Limits is !null: Freeze,
PhantomData<Limits>: Freeze,
*const Fence is !null: Freeze,
PhantomData<Fence>: Freeze,
*const Matrix is !null: Freeze,
PhantomData<Matrix>: Freeze,
*const Accent is !null: Freeze,
PhantomData<Accent>: Freeze,
*const LabeledArrow is !null: Freeze,
PhantomData<LabeledArrow>: Freeze,
*const BigOp is !null: Freeze,
PhantomData<BigOp>: Freeze,
*const Styled is !null: Freeze,
PhantomData<Styled>: Freeze,
PhantomData<u8>: Freeze,
impl Move for LabeledArrow
impl RefUnwindSafe for LabeledArrow
impl Send for LabeledArrow
impl Sync for LabeledArrow
impl Unpin for LabeledArrow
impl UnsafeUnpin for LabeledArrowwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Node>: UnsafeUnpin,
*const TextRun is !null: UnsafeUnpin,
PhantomData<TextRun>: UnsafeUnpin,
*const Frac is !null: UnsafeUnpin,
PhantomData<Frac>: UnsafeUnpin,
*const Sqrt is !null: UnsafeUnpin,
PhantomData<Sqrt>: UnsafeUnpin,
*const Scripts is !null: UnsafeUnpin,
PhantomData<Scripts>: UnsafeUnpin,
*const Limits is !null: UnsafeUnpin,
PhantomData<Limits>: UnsafeUnpin,
*const Fence is !null: UnsafeUnpin,
PhantomData<Fence>: UnsafeUnpin,
*const Matrix is !null: UnsafeUnpin,
PhantomData<Matrix>: UnsafeUnpin,
*const Accent is !null: UnsafeUnpin,
PhantomData<Accent>: UnsafeUnpin,
*const LabeledArrow is !null: UnsafeUnpin,
PhantomData<LabeledArrow>: UnsafeUnpin,
*const BigOp is !null: UnsafeUnpin,
PhantomData<BigOp>: UnsafeUnpin,
*const Styled is !null: UnsafeUnpin,
PhantomData<Styled>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for LabeledArrowwhere
RawVecInner: UnwindSafe,
BoxRaw<TextRun>: UnwindSafe,
BoxRaw<Frac>: UnwindSafe,
BoxRaw<Sqrt>: UnwindSafe,
BoxRaw<Scripts>: UnwindSafe,
BoxRaw<Limits>: UnwindSafe,
BoxRaw<Fence>: UnwindSafe,
BoxRaw<Matrix>: UnwindSafe,
BoxRaw<Accent>: UnwindSafe,
BoxRaw<LabeledArrow>: UnwindSafe,
BoxRaw<BigOp>: UnwindSafe,
BoxRaw<Styled>: 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