Struct docx_reader::Div
source · pub struct Div {
pub id: String,
pub margin_left: usize,
pub margin_right: usize,
pub margin_top: usize,
pub margin_bottom: usize,
pub divs_child: Vec<Div>,
}Fields§
§id: String§margin_left: usize§margin_right: usize§margin_top: usize§margin_bottom: usize§divs_child: Vec<Div>Implementations§
source§impl Div
impl Div
pub fn new(id: impl Into<String>) -> Self
pub fn margin_left(self, s: usize) -> Self
pub fn margin_right(self, s: usize) -> Self
pub fn margin_top(self, s: usize) -> Self
pub fn margin_bottom(self, s: usize) -> Self
pub fn add_child(self, s: Div) -> Self
Trait Implementations§
source§impl ElementReader for Div
impl ElementReader for Div
fn read<R: Read>( r: &mut EventReader<R>, attrs: &[OwnedAttribute] ) -> Result<Self, ReaderError>
impl StructuralPartialEq for Div
Auto Trait Implementations§
impl RefUnwindSafe for Div
impl Send for Div
impl Sync for Div
impl Unpin for Div
impl UnwindSafe for Div
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