Struct yamlette::model::style::CommonStyles
source · pub struct CommonStyles { /* private fields */ }
Implementations§
source§impl CommonStyles
impl CommonStyles
pub fn flow(&self) -> bool
pub fn set_flow(&mut self, val: bool)
pub fn compact(&self) -> bool
pub fn set_compact(&mut self, val: bool)
pub fn respect_threshold(&self) -> bool
pub fn set_respect_threshold(&mut self, val: bool)
pub fn multiline(&self) -> bool
pub fn set_multiline(&mut self, val: bool)
pub fn issue_tag(&self) -> bool
pub fn set_issue_tag(&mut self, val: bool)
pub fn indent(&self) -> u8
pub fn set_indent(&mut self, value: u8)
pub fn threshold(&self) -> u8
pub fn set_threshold(&mut self, value: u8)
Trait Implementations§
source§impl Clone for CommonStyles
impl Clone for CommonStyles
source§fn clone(&self) -> CommonStyles
fn clone(&self) -> CommonStyles
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 CommonStyles
impl Debug for CommonStyles
source§impl Default for CommonStyles
impl Default for CommonStyles
source§fn default() -> CommonStyles
fn default() -> CommonStyles
Returns the “default value” for a type. Read more