Struct bat::style::StyleComponents
source · pub struct StyleComponents(pub HashSet<StyleComponent>);
Tuple Fields§
§0: HashSet<StyleComponent>
Implementations§
source§impl StyleComponents
impl StyleComponents
pub fn new(components: &[StyleComponent]) -> StyleComponents
pub fn changes(&self) -> bool
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§
source§impl Clone for StyleComponents
impl Clone for StyleComponents
source§fn clone(&self) -> StyleComponents
fn clone(&self) -> StyleComponents
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 StyleComponents
impl Debug for StyleComponents
source§impl Default for StyleComponents
impl Default for StyleComponents
source§fn default() -> StyleComponents
fn default() -> StyleComponents
Returns the “default value” for a type. Read more