pub struct DocGrid { /* private fields */ }
Implementations§
Source§impl DocGrid
impl DocGrid
pub fn new() -> Self
pub fn with_empty() -> Self
pub fn grid_type(self, t: DocGridType) -> Self
pub fn line_pitch(self, line_pitch: usize) -> Self
pub fn char_space(self, char_space: isize) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DocGrid
impl<'de> Deserialize<'de> for DocGrid
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ElementReader for DocGrid
impl ElementReader for DocGrid
fn read<R: Read>( _r: &mut EventReader<R>, attrs: &[OwnedAttribute], ) -> Result<Self, ReaderError>
impl StructuralPartialEq for DocGrid
Auto Trait Implementations§
impl Freeze for DocGrid
impl RefUnwindSafe for DocGrid
impl Send for DocGrid
impl Sync for DocGrid
impl Unpin for DocGrid
impl UnwindSafe for DocGrid
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