Struct docx_rust::formatting::WidowControl
source · [−]Expand description
WidowControl
use docx::formatting::*;
let WidowControl = WidowControl::from(false);
let WidowControl = WidowControl::from(true);
Fields
value: Option<usize>
Trait Implementations
sourceimpl Clone for WidowControl
impl Clone for WidowControl
sourcefn clone(&self) -> WidowControl
fn clone(&self) -> WidowControl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WidowControl
impl Debug for WidowControl
sourceimpl Default for WidowControl
impl Default for WidowControl
sourcefn default() -> WidowControl
fn default() -> WidowControl
Returns the “default value” for a type. Read more
sourceimpl From<bool> for WidowControl
impl From<bool> for WidowControl
sourceimpl<'__input> XmlRead<'__input> for WidowControl
impl<'__input> XmlRead<'__input> for WidowControl
Auto Trait Implementations
impl RefUnwindSafe for WidowControl
impl Send for WidowControl
impl Sync for WidowControl
impl Unpin for WidowControl
impl UnwindSafe for WidowControl
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