pub struct BlockFormat {
pub alignment: Option<Alignment>,
pub top_margin: Option<usize>,
pub bottom_margin: Option<usize>,
pub left_margin: Option<usize>,
pub right_margin: Option<usize>,
pub heading_level: Option<u8>,
pub indent: Option<u8>,
pub text_indent: Option<usize>,
pub tab_positions: Option<Vec<Tab>>,
pub marker: Option<MarkerType>,
}
Fields§
§alignment: Option<Alignment>
§top_margin: Option<usize>
§bottom_margin: Option<usize>
§left_margin: Option<usize>
§right_margin: Option<usize>
§heading_level: Option<u8>
§indent: Option<u8>
§text_indent: Option<usize>
§tab_positions: Option<Vec<Tab>>
§marker: Option<MarkerType>
Implementations§
Source§impl BlockFormat
impl BlockFormat
Trait Implementations§
Source§impl Clone for BlockFormat
impl Clone for BlockFormat
Source§fn clone(&self) -> BlockFormat
fn clone(&self) -> BlockFormat
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BlockFormat
impl Debug for BlockFormat
Source§impl Default for BlockFormat
impl Default for BlockFormat
Source§fn default() -> BlockFormat
fn default() -> BlockFormat
Returns the “default value” for a type. Read more
Source§impl PartialEq for BlockFormat
impl PartialEq for BlockFormat
impl Eq for BlockFormat
impl StructuralPartialEq for BlockFormat
Auto Trait Implementations§
impl Freeze for BlockFormat
impl RefUnwindSafe for BlockFormat
impl Send for BlockFormat
impl Sync for BlockFormat
impl Unpin for BlockFormat
impl UnwindSafe for BlockFormat
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