Struct libpijul::pristine::SerializedEdge[][src]

pub struct SerializedEdge(_);

The target half of an edge in the repository graph.

Implementations

impl SerializedEdge[src]

pub fn flag(&self) -> EdgeFlags[src]

pub fn dest(&self) -> Position<ChangeId>[src]

pub fn introduced_by(&self) -> ChangeId[src]

impl SerializedEdge[src]

pub fn empty(dest: Position<ChangeId>, intro: ChangeId) -> Self[src]

pub fn new(
    flag: EdgeFlags,
    change: ChangeId,
    pos: ChangePosition,
    intro: ChangeId
) -> Self
[src]

Trait Implementations

impl Clone for SerializedEdge[src]

impl Copy for SerializedEdge[src]

impl Debug for SerializedEdge[src]

impl Eq for SerializedEdge[src]

impl Hash for SerializedEdge[src]

impl Ord for SerializedEdge[src]

impl PartialEq<SerializedEdge> for SerializedEdge[src]

impl PartialOrd<SerializedEdge> for SerializedEdge[src]

impl Storable for SerializedEdge[src]

type PageReferences = Empty<u64>

An iterator over the offsets to pages contained in this value. Only values from this crate can generate non-empty iterators, but combined values (like tuples) must chain the iterators returned by method page_offsets. Read more

impl StructuralEq for SerializedEdge[src]

impl StructuralPartialEq for SerializedEdge[src]

impl SubAssign<EdgeFlags> for SerializedEdge[src]

impl UnsizedStorable for SerializedEdge[src]

fn size(&self) -> usize[src]

If Self::SIZE.is_some(), this must return the same value. The default implementation is Self;:SIZE.unwrap().

unsafe fn onpage_size(_: *const u8) -> usize[src]

Read the size from an on-page entry.

unsafe fn write_to_page(&self, p: *mut u8)[src]

Write to a page. Must not overwrite the allocated size, but this isn’t checked (which is why it’s unsafe).

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,