Expand description
Break
use docx::document::*;
let br = Break::from(BreakType::Page);
Fields
ty: Option<BreakType>
Specifies the break type of this break.
Trait Implementations
sourceimpl<'a> From<Break> for RunContent<'a>
impl<'a> From<Break> for RunContent<'a>
sourcefn from(original: Break) -> RunContent<'a>
fn from(original: Break) -> RunContent<'a>
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for Break
impl Send for Break
impl Sync for Break
impl Unpin for Break
impl UnwindSafe for Break
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more