pub struct OutputPolicy {
pub color: ColorPolicy,
pub pager: PagerPolicy,
pub quiet: bool,
}Expand description
Output-related global jj options.
Fields§
§color: ColorPolicyThe color policy passed to jj --color.
pager: PagerPolicyThe pager policy for jj output.
quiet: boolWhether to pass jj --quiet.
Trait Implementations§
Source§impl Clone for OutputPolicy
impl Clone for OutputPolicy
Source§fn clone(&self) -> OutputPolicy
fn clone(&self) -> OutputPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OutputPolicy
Source§impl Debug for OutputPolicy
impl Debug for OutputPolicy
Source§impl Default for OutputPolicy
impl Default for OutputPolicy
impl Eq for OutputPolicy
Source§impl PartialEq for OutputPolicy
impl PartialEq for OutputPolicy
Source§fn eq(&self, other: &OutputPolicy) -> bool
fn eq(&self, other: &OutputPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OutputPolicy
Auto Trait Implementations§
impl Freeze for OutputPolicy
impl RefUnwindSafe for OutputPolicy
impl Send for OutputPolicy
impl Sync for OutputPolicy
impl Unpin for OutputPolicy
impl UnsafeUnpin for OutputPolicy
impl UnwindSafe for OutputPolicy
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