pub struct MathArg<'a> {
pub arg: Arg<'a>,
pub ends_in_semicolon: bool,
}Expand description
An argument in a MathCall for an actual function and whether it ends in
a semicolon.
Fields§
§arg: Arg<'a>The argument.
ends_in_semicolon: boolWhether the argument ends with a semicolon and should create two-dimensional args. This excludes semicolons that end embedded code expressions.
Trait Implementations§
impl<'a> Copy for MathArg<'a>
Auto Trait Implementations§
impl<'a> Freeze for MathArg<'a>
impl<'a> RefUnwindSafe for MathArg<'a>
impl<'a> Send for MathArg<'a>
impl<'a> Sync for MathArg<'a>
impl<'a> Unpin for MathArg<'a>
impl<'a> UnsafeUnpin for MathArg<'a>
impl<'a> UnwindSafe for MathArg<'a>
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