Struct etop_format::table_formats::UnknownFormat
source · pub struct UnknownFormat {
pub min_width: Option<usize>,
pub max_width: Option<usize>,
}Expand description
unknown format
Fields§
§min_width: Option<usize>min width
max_width: Option<usize>max width
Implementations§
source§impl UnknownFormat
impl UnknownFormat
sourcepub fn min_width(self, width: usize) -> UnknownFormat
pub fn min_width(self, width: usize) -> UnknownFormat
min width
sourcepub fn max_width(self, width: usize) -> UnknownFormat
pub fn max_width(self, width: usize) -> UnknownFormat
max width
Trait Implementations§
source§impl Clone for UnknownFormat
impl Clone for UnknownFormat
source§fn clone(&self) -> UnknownFormat
fn clone(&self) -> UnknownFormat
Returns a copy 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 UnknownFormat
impl Debug for UnknownFormat
source§impl From<UnknownFormat> for BinaryFormat
impl From<UnknownFormat> for BinaryFormat
source§fn from(unknown_format: UnknownFormat) -> Self
fn from(unknown_format: UnknownFormat) -> Self
Converts to this type from the input type.
source§impl From<UnknownFormat> for BoolFormat
impl From<UnknownFormat> for BoolFormat
source§fn from(unknown_format: UnknownFormat) -> Self
fn from(unknown_format: UnknownFormat) -> Self
Converts to this type from the input type.
source§impl From<UnknownFormat> for NumberFormat
impl From<UnknownFormat> for NumberFormat
source§fn from(unknown_format: UnknownFormat) -> Self
fn from(unknown_format: UnknownFormat) -> Self
Converts to this type from the input type.
source§impl From<UnknownFormat> for StringFormat
impl From<UnknownFormat> for StringFormat
source§fn from(unknown_format: UnknownFormat) -> Self
fn from(unknown_format: UnknownFormat) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for UnknownFormat
impl Send for UnknownFormat
impl Sync for UnknownFormat
impl Unpin for UnknownFormat
impl UnwindSafe for UnknownFormat
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