pub enum Separators {
Off,
Header,
All,
}Expand description
Which column separators a Table draws between its
columns. A separator is always one cell wide; this only chooses whether
that cell holds a visible rule, so the layout never shifts. The rule glyph
itself belongs to the theme (its frame_v);
the draw that renders it passes it in, like the ListViewer divider does.
Variants§
Off
One blank cell between columns, with no visible rule (the default). Named
Off rather than None so a use Separators::* does not shadow
Option::None.
Header
The rule in the header row only, so the resize handle is visible; the rows keep blank separators. When the columns leave spare width, the header also rules the cell after the last column, which is that column’s resize handle.
All
The rule in the header and between every row’s cells. The header
rules the cell after the last column as in Separators::Header;
the rows rule only the cells between columns and leave that one blank.
Trait Implementations§
Source§impl Clone for Separators
impl Clone for Separators
Source§fn clone(&self) -> Separators
fn clone(&self) -> Separators
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for Separators
Source§impl Debug for Separators
impl Debug for Separators
Source§impl Default for Separators
impl Default for Separators
Source§fn default() -> Separators
fn default() -> Separators
impl Eq for Separators
Source§impl PartialEq for Separators
impl PartialEq for Separators
impl StructuralPartialEq for Separators
Auto Trait Implementations§
impl Freeze for Separators
impl RefUnwindSafe for Separators
impl Send for Separators
impl Sync for Separators
impl Unpin for Separators
impl UnsafeUnpin for Separators
impl UnwindSafe for Separators
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.