pub struct TableOptions {
pub flags: TableFlags,
pub sizing_policy: Option<TableSizingPolicy>,
}Expand description
Complete table options assembled from independent flags and an optional single sizing policy.
Fields§
§flags: TableFlags§sizing_policy: Option<TableSizingPolicy>Implementations§
Source§impl TableOptions
impl TableOptions
pub const fn new() -> Self
pub fn flags(self, flags: TableFlags) -> Self
pub fn sizing_policy(self, policy: TableSizingPolicy) -> Self
pub fn bits(self) -> i32
Trait Implementations§
Source§impl Clone for TableOptions
impl Clone for TableOptions
Source§fn clone(&self) -> TableOptions
fn clone(&self) -> TableOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TableOptions
impl Debug for TableOptions
Source§impl Default for TableOptions
impl Default for TableOptions
Source§impl From<TableFlags> for TableOptions
impl From<TableFlags> for TableOptions
Source§fn from(flags: TableFlags) -> Self
fn from(flags: TableFlags) -> Self
Converts to this type from the input type.
Source§impl Hash for TableOptions
impl Hash for TableOptions
Source§impl PartialEq for TableOptions
impl PartialEq for TableOptions
Source§fn eq(&self, other: &TableOptions) -> bool
fn eq(&self, other: &TableOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TableOptions
impl Eq for TableOptions
impl StructuralPartialEq for TableOptions
Auto Trait Implementations§
impl Freeze for TableOptions
impl RefUnwindSafe for TableOptions
impl Send for TableOptions
impl Sync for TableOptions
impl Unpin for TableOptions
impl UnsafeUnpin for TableOptions
impl UnwindSafe for TableOptions
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