[−][src]Struct texrender::tpl::MacroCall
A TeX-macro invocation.
This is the typical \macroname[opt1]{arg1}{arg2}
call that is common in latex documents.
Implementations
impl MacroCall
[src]
pub fn new<T: IntoTexElement>(ident: T, opt_args: OptArgs, args: Args) -> Self
[src]
Creates a new macro call.
The resulting call will end with a newline when output.
pub fn new_inline<T: IntoTexElement>(
ident: T,
opt_args: OptArgs,
args: Args
) -> Self
[src]
ident: T,
opt_args: OptArgs,
args: Args
) -> Self
Creates a new inline macro call.
Does not end with a newline.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MacroCall
impl !Send for MacroCall
impl !Sync for MacroCall
impl Unpin for MacroCall
impl !UnwindSafe for MacroCall
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoTexElement for T where
T: 'static + TexElement,
[src]
T: 'static + TexElement,
pub fn into_tex_element(Self) -> Box<dyn TexElement + 'static>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,