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 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 more