Trait ux::CloneExt[][src]

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

Trait containing all Clone methods.

Implementors

Clone

Required methods

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

Retrieves the source Actor being cloned by self.

Returns

the actor source for the clone

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

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

source

a Actor, or None

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

Loading content...

Implementors

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

Loading content...