pub struct BeginEndBlock { /* private fields */ }
Expand description
A block with a begin and end instruction.
Begin-end blocks usually start with a \begin{blockname}
and end with \end{blockname}
.
Implementations§
Source§impl BeginEndBlock
impl BeginEndBlock
Sourcepub fn new<T: IntoTexElement>(
ident: T,
opt_args: OptArgs,
args: Args,
children: Vec<Box<dyn TexElement>>,
) -> Self
pub fn new<T: IntoTexElement>( ident: T, opt_args: OptArgs, args: Args, children: Vec<Box<dyn TexElement>>, ) -> Self
Creates a new begin/end block.
Trait Implementations§
Source§impl Debug for BeginEndBlock
impl Debug for BeginEndBlock
Source§impl TexElement for BeginEndBlock
impl TexElement for BeginEndBlock
Auto Trait Implementations§
impl Freeze for BeginEndBlock
impl !RefUnwindSafe for BeginEndBlock
impl !Send for BeginEndBlock
impl !Sync for BeginEndBlock
impl Unpin for BeginEndBlock
impl !UnwindSafe for BeginEndBlock
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> IntoTexElement for Twhere
T: TexElement + 'static,
impl<T> IntoTexElement for Twhere
T: TexElement + 'static,
Source§fn into_tex_element(self) -> Box<dyn TexElement>
fn into_tex_element(self) -> Box<dyn TexElement>
Converts the given element into a
TexElement
.