Struct jujutsu_lib::operation::Operation
source · pub struct Operation { /* private fields */ }
Implementations§
source§impl Operation
impl Operation
pub fn new(op_store: Arc<dyn OpStore>, id: OperationId, data: Operation) -> Self
pub fn op_store(&self) -> Arc<dyn OpStore>
pub fn id(&self) -> &OperationId
pub fn parent_ids(&self) -> &Vec<OperationId>
pub fn parents(&self) -> Vec<Operation>
pub fn view(&self) -> View
pub fn store_operation(&self) -> &Operation
Trait Implementations§
source§impl Ord for Operation
impl Ord for Operation
source§impl PartialEq<Operation> for Operation
impl PartialEq<Operation> for Operation
source§impl PartialOrd<Operation> for Operation
impl PartialOrd<Operation> for Operation
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Operation
Auto Trait Implementations§
impl !RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl !UnwindSafe for Operation
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