pub struct ListParams {
pub labeling: String,
pub spacing: String,
}Expand description
Parameters for the LaTeX list environment.
§Example
use rusttex::{ListParams, StringOrBuilder};
let params = ListParams::new("label", "spacing");Generated LaTeX:
\begin{list}{label}{spacing}
...
\end{list}Fields§
§labeling: StringSpecifies the default labeling of list items.
spacing: StringSpecifies a list of commands.
Implementations§
Source§impl ListParams
impl ListParams
Sourcepub fn new<S: StringOrBuilder, V: StringOrBuilder>(
labeling: S,
spacing: V,
) -> Self
pub fn new<S: StringOrBuilder, V: StringOrBuilder>( labeling: S, spacing: V, ) -> Self
Auto Trait Implementations§
impl Freeze for ListParams
impl RefUnwindSafe for ListParams
impl Send for ListParams
impl Sync for ListParams
impl Unpin for ListParams
impl UnwindSafe for ListParams
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