Trait flo_animation::PendingEditLog [] [src]

pub trait PendingEditLog<Edit> {
    fn pending(&self) -> Vec<Edit>;
fn set_pending(&mut self, edits: &[Edit]);
fn commit_pending(&mut self);
fn cancel_pending(&mut self); }

Trait implemented by edit logs representing a set of edits waiting to be committed to another edit log.

Required Methods

The current set of pending edits

Sets the pending edits for this log (replacing any existing pending edits)

Commits any pending edits for this log. Returns the range where the edits were committed.

Cancels any pending edits for this log

Implementations on Foreign Types

impl<'a, Edit, Log: PendingEditLog<Edit>> PendingEditLog<Edit> for &'a mut Log
[src]

[src]

[src]

[src]

[src]

impl<'a, Edit, Log: PendingEditLog<Edit>> PendingEditLog<Edit> for RwLockWriteGuard<'a, Log>
[src]

[src]

[src]

[src]

[src]

impl<'a, Edit, Log: PendingEditLog<Edit>> PendingEditLog<Edit> for RwLock<Log>
[src]

[src]

[src]

[src]

[src]

impl<'a, Edit, Log: PendingEditLog<Edit>> PendingEditLog<Edit> for Arc<RwLock<Log>>
[src]

[src]

[src]

[src]

[src]

Implementors