Struct commit_verify::CommitLayout
source · pub struct CommitLayout { /* private fields */ }Implementations§
source§impl CommitLayout
impl CommitLayout
sourcepub fn idty(&self) -> &TypeFqn
pub fn idty(&self) -> &TypeFqn
Method borrowing CommitLayout::idty field.
sourcepub fn tag(&self) -> &'static str
pub fn tag(&self) -> &'static str
Method returning copy of CommitLayout::tag field.
sourcepub fn fields(&self) -> &TinyVec<CommitStep>
pub fn fields(&self) -> &TinyVec<CommitStep>
Method borrowing CommitLayout::fields field.
source§impl CommitLayout
impl CommitLayout
pub fn to_vesper(&self) -> VesperCommit
Trait Implementations§
source§impl Clone for CommitLayout
impl Clone for CommitLayout
source§fn clone(&self) -> CommitLayout
fn clone(&self) -> CommitLayout
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 CommitLayout
impl Debug for CommitLayout
source§impl Display for CommitLayout
impl Display for CommitLayout
source§impl Hash for CommitLayout
impl Hash for CommitLayout
source§impl PartialEq for CommitLayout
impl PartialEq for CommitLayout
source§fn eq(&self, other: &CommitLayout) -> bool
fn eq(&self, other: &CommitLayout) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CommitLayout
impl StructuralPartialEq for CommitLayout
Auto Trait Implementations§
impl Freeze for CommitLayout
impl RefUnwindSafe for CommitLayout
impl Send for CommitLayout
impl Sync for CommitLayout
impl Unpin for CommitLayout
impl UnwindSafe for CommitLayout
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.