Struct bat_impl::style::StyleComponents
source · [−]pub struct StyleComponents(pub HashSet<StyleComponent>);
Tuple Fields
0: HashSet<StyleComponent>
Implementations
sourceimpl StyleComponents
impl StyleComponents
pub fn new(components: &[StyleComponent]) -> StyleComponents
pub fn grid(&self) -> bool
pub fn rule(&self) -> bool
pub fn header(&self) -> bool
pub fn header_filename(&self) -> bool
pub fn header_filesize(&self) -> bool
pub fn numbers(&self) -> bool
pub fn snip(&self) -> bool
pub fn plain(&self) -> bool
Trait Implementations
sourceimpl Clone for StyleComponents
impl Clone for StyleComponents
sourcefn clone(&self) -> StyleComponents
fn clone(&self) -> StyleComponents
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StyleComponents
impl Debug for StyleComponents
sourceimpl Default for StyleComponents
impl Default for StyleComponents
sourcefn default() -> StyleComponents
fn default() -> StyleComponents
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for StyleComponents
impl Send for StyleComponents
impl Sync for StyleComponents
impl Unpin for StyleComponents
impl UnwindSafe for StyleComponents
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more