[][src]Struct fui_core::ControlContext

pub struct ControlContext { /* fields omitted */ }

Implementations

impl ControlContext[src]

pub fn new(view_context: ViewContext) -> Self[src]

pub fn get_self_rc(&self) -> Rc<RefCell<dyn ControlObject>>[src]

pub fn set_self(&mut self, self_weak: Weak<RefCell<dyn ControlObject>>)[src]

pub fn get_parent(&self) -> Option<Rc<RefCell<dyn ControlObject>>>[src]

pub fn set_parent(&mut self, parent_rc: &Rc<RefCell<dyn ControlObject>>)[src]

pub fn get_children(
    &self
) -> &Box<dyn ObservableCollection<Rc<RefCell<dyn ControlObject>>>>
[src]

pub fn set_children_collection_changed_event_subscription(
    &mut self,
    s: Option<EventSubscription>
)
[src]

pub fn get_attached_values(&self) -> &TypeMap[src]

pub fn get_services(&self) -> Option<Weak<RefCell<Services>>>[src]

Available only when control is added to the window. Not yet set during control setup().

pub fn set_services(&mut self, services: Option<Weak<RefCell<Services>>>)[src]

pub fn is_dirty(&self) -> bool[src]

pub fn set_is_dirty(&mut self, is_dirty: bool)[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any