pub enum ContentState {
HasContent,
Empty,
}Expand description
Whether a jj commit is empty (no file changes).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ContentState
impl Clone for ContentState
Source§fn clone(&self) -> ContentState
fn clone(&self) -> ContentState
Returns a duplicate 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 ContentState
impl Debug for ContentState
Source§impl Default for ContentState
impl Default for ContentState
Source§fn default() -> ContentState
fn default() -> ContentState
Returns the “default value” for a type. Read more
Source§impl Hash for ContentState
impl Hash for ContentState
Source§impl PartialEq for ContentState
impl PartialEq for ContentState
impl Copy for ContentState
impl Eq for ContentState
impl StructuralPartialEq for ContentState
Auto Trait Implementations§
impl Freeze for ContentState
impl RefUnwindSafe for ContentState
impl Send for ContentState
impl Sync for ContentState
impl Unpin for ContentState
impl UnsafeUnpin for ContentState
impl UnwindSafe for ContentState
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