[−][src]Struct fui_core::ControlContext
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]
&self
) -> &Box<dyn ObservableCollection<Rc<RefCell<dyn ControlObject>>>>
pub fn set_children_collection_changed_event_subscription(
&mut self,
s: Option<EventSubscription>
)
[src]
&mut self,
s: Option<EventSubscription>
)
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
impl !RefUnwindSafe for ControlContext
impl !Send for ControlContext
impl !Sync for ControlContext
impl Unpin for ControlContext
impl !UnwindSafe for ControlContext
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnsafeAny for T where
T: Any,
T: Any,