Trait flo_animation::EditLog [] [src]

pub trait EditLog<Edit> {
    fn length(&self) -> usize;
fn read(&self, indices: &mut Iterator<Item = usize>) -> Vec<Edit>; }

Trait implemented by things that can be edited (or described) by sequences of commands

Required Methods

Retrieves the number of edits in this log

Reads a range of edits from this log

Implementations on Foreign Types

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

[src]

[src]

impl<'a, Edit, Log: EditLog<Edit>> EditLog<Edit> for RwLockReadGuard<'a, Log>
[src]

[src]

[src]

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

[src]

[src]

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

[src]

[src]

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

[src]

[src]

Implementors