[][src]Struct graphannis::update::GraphUpdate

#[repr(C)]pub struct GraphUpdate { /* fields omitted */ }

A list of changes to apply to an graph.

Implementations

impl GraphUpdate[src]

pub fn new() -> GraphUpdate[src]

Create a new empty list of updates.

pub fn add_event(&mut self, event: UpdateEvent) -> Result<(), Error>[src]

Add the given event to the update list.

pub fn iter(&'a self) -> Result<GraphUpdateIterator<'a>, Error>[src]

Get all changes

pub fn is_empty(&self) -> Result<bool, Error>[src]

Returns true if the update list is empty.

Trait Implementations

impl Default for GraphUpdate[src]

impl<'de> Deserialize<'de> for GraphUpdate[src]

impl Serialize for GraphUpdate[src]

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