Trait clutter::CloneExt[][src]

pub trait CloneExt: 'static {
    fn get_source(&self) -> Option<Actor>;
fn set_source<P: IsA<Actor>>(&self, source: Option<&P>);
fn connect_property_source_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all Clone methods.

Implementors

Clone

Required methods

fn get_source(&self) -> Option<Actor>[src]

Retrieves the source Actor being cloned by self.

Returns

the actor source for the clone

fn set_source<P: IsA<Actor>>(&self, source: Option<&P>)[src]

Sets source as the source actor to be cloned by self.

source

a Actor, or None

fn connect_property_source_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<Clone>> CloneExt for O[src]

Loading content...