pub struct PositionalTab {
pub alignment: PositionalTabAlignmentType,
pub relative_to: PositionalTabRelativeTo,
pub leader: TabLeaderType,
}
Fields§
§alignment: PositionalTabAlignmentType
§relative_to: PositionalTabRelativeTo
§leader: TabLeaderType
Implementations§
Source§impl PositionalTab
impl PositionalTab
pub fn new( alignment: PositionalTabAlignmentType, relative_to: PositionalTabRelativeTo, leader: TabLeaderType, ) -> Self
pub fn relative_to(self, relative_to: PositionalTabRelativeTo) -> Self
pub fn leader(self, leader: TabLeaderType) -> Self
pub fn alignment(self, alignment: PositionalTabAlignmentType) -> Self
Trait Implementations§
Source§impl Clone for PositionalTab
impl Clone for PositionalTab
Source§fn clone(&self) -> PositionalTab
fn clone(&self) -> PositionalTab
Returns a duplicate 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 PositionalTab
impl Debug for PositionalTab
Source§impl Default for PositionalTab
impl Default for PositionalTab
Source§impl<'de> Deserialize<'de> for PositionalTab
impl<'de> Deserialize<'de> for PositionalTab
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 PositionalTab
impl ElementReader for PositionalTab
fn read<R: Read>( r: &mut EventReader<R>, attrs: &[OwnedAttribute], ) -> Result<Self, ReaderError>
Source§impl PartialEq for PositionalTab
impl PartialEq for PositionalTab
Source§impl Serialize for PositionalTab
impl Serialize for PositionalTab
impl BuildXML for PositionalTab
impl StructuralPartialEq for PositionalTab
Auto Trait Implementations§
impl Freeze for PositionalTab
impl RefUnwindSafe for PositionalTab
impl Send for PositionalTab
impl Sync for PositionalTab
impl Unpin for PositionalTab
impl UnwindSafe for PositionalTab
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