[][src]Struct libpijul::change::NewEdge

pub struct NewEdge<Change> {
    pub previous: EdgeFlags,
    pub flag: EdgeFlags,
    pub from: Position<Change>,
    pub to: Vertex<Change>,
    pub introduced_by: Change,
}

Fields

previous: EdgeFlagsflag: EdgeFlagsfrom: Position<Change>

The origin of the edge, i.e. if a vertex split is needed, the left-hand side of the split will include from.pos. This means that splitting vertex [a, b[ to apply this edge modification will yield vertices [a, from.pos+1[ and [from.pos+1, b[.

to: Vertex<Change>

The destination of the edge, i.e. the last byte affected by this change.

introduced_by: Change

The change that introduced the previous version of the edge (the one being replaced by this NewEdge).

Trait Implementations

impl<Change: Clone> Clone for NewEdge<Change>[src]

impl<Change: Debug> Debug for NewEdge<Change>[src]

impl<'de, Change> Deserialize<'de> for NewEdge<Change> where
    Change: Deserialize<'de>, 
[src]

impl<Change: Eq> Eq for NewEdge<Change>[src]

impl<Change: PartialEq> PartialEq<NewEdge<Change>> for NewEdge<Change>[src]

impl<Change> Serialize for NewEdge<Change> where
    Change: Serialize
[src]

impl<Change> StructuralEq for NewEdge<Change>[src]

impl<Change> StructuralPartialEq for NewEdge<Change>[src]

Auto Trait Implementations

impl<Change> RefUnwindSafe for NewEdge<Change> where
    Change: RefUnwindSafe

impl<Change> Send for NewEdge<Change> where
    Change: Send

impl<Change> Sync for NewEdge<Change> where
    Change: Sync

impl<Change> Unpin for NewEdge<Change> where
    Change: Unpin

impl<Change> UnwindSafe for NewEdge<Change> where
    Change: UnwindSafe

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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>,