[−][src]Struct texrender::tpl::BeginEndBlock
A block with a begin and end instruction.
Begin-end blocks usually start with a \begin{blockname}
and end with \end{blockname}
.
Implementations
impl BeginEndBlock
[src]
pub fn new<T: IntoTexElement>(
ident: T,
opt_args: OptArgs,
args: Args,
children: Vec<Box<dyn TexElement>>
) -> Self
[src]
ident: T,
opt_args: OptArgs,
args: Args,
children: Vec<Box<dyn TexElement>>
) -> Self
Creates a new begin/end block.
Trait Implementations
impl Debug for BeginEndBlock
[src]
impl TexElement for BeginEndBlock
[src]
Auto Trait Implementations
impl !RefUnwindSafe for BeginEndBlock
impl !Send for BeginEndBlock
impl !Sync for BeginEndBlock
impl Unpin for BeginEndBlock
impl !UnwindSafe for BeginEndBlock
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, Global>
[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>,