Trait flo_binding::Releasable[][src]

pub trait Releasable: Send {
    fn keep_alive(&mut self);
fn done(&mut self); }

Trait implemented by an object that can be released: for example to stop performing an action when it's no longer required.

Required methods

fn keep_alive(&mut self)[src]

Indicates that this object should not be released on drop

fn done(&mut self)[src]

Indicates that this object is finished with and should be released

Loading content...

Implementations on Foreign Types

impl Releasable for Vec<Box<dyn Releasable>>[src]

Loading content...

Implementors

Loading content...