Struct lurk_cli::style::StyleConfig
source · pub struct StyleConfig {
pub pid: Style,
pub syscall: Style,
pub success: Style,
pub error: Style,
pub result: Style,
pub use_colors: bool,
}Fields§
§pid: Style§syscall: Style§success: Style§error: Style§result: Style§use_colors: boolImplementations§
source§impl StyleConfig
impl StyleConfig
pub fn from_ret_code(&self, ret_code: RetCode) -> Style
Trait Implementations§
source§impl Clone for StyleConfig
impl Clone for StyleConfig
source§fn clone(&self) -> StyleConfig
fn clone(&self) -> StyleConfig
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 StyleConfig
impl Debug for StyleConfig
Auto Trait Implementations§
impl Freeze for StyleConfig
impl RefUnwindSafe for StyleConfig
impl Send for StyleConfig
impl Sync for StyleConfig
impl Unpin for StyleConfig
impl UnwindSafe for StyleConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)