pub struct DesignerToolboxSet(/* private fields */);
Implementations§
Source§impl DesignerToolboxSet
impl DesignerToolboxSet
pub fn has_widget(&self, widget: &WidgetRef) -> DesignerToolboxRef
Source§impl DesignerToolboxSet
impl DesignerToolboxSet
pub fn iter(&self) -> DesignerToolboxSetIterator<'_> ⓘ
Methods from Deref<Target = WidgetSet>§
pub fn is_empty(&mut self) -> bool
pub fn push(&mut self, item: WidgetRef)
pub fn extend_from_set(&mut self, other: &WidgetSet)
pub fn widgets(&self, paths: &[&[LiveId]]) -> WidgetSet
pub fn contains(&self, widget: &WidgetRef) -> bool
pub fn set_text(&self, cx: &mut Cx, v: &str)
pub fn iter(&self) -> WidgetSetIterator<'_> ⓘ
pub fn filter_actions<'a>( &'a self, actions: &'a Actions, ) -> impl Iterator<Item = &'a WidgetAction>
Trait Implementations§
Source§impl Clone for DesignerToolboxSet
impl Clone for DesignerToolboxSet
Source§fn clone(&self) -> DesignerToolboxSet
fn clone(&self) -> DesignerToolboxSet
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DesignerToolboxSet
impl Debug for DesignerToolboxSet
Source§impl Deref for DesignerToolboxSet
impl Deref for DesignerToolboxSet
Auto Trait Implementations§
impl Freeze for DesignerToolboxSet
impl !RefUnwindSafe for DesignerToolboxSet
impl !Send for DesignerToolboxSet
impl !Sync for DesignerToolboxSet
impl Unpin for DesignerToolboxSet
impl !UnwindSafe for DesignerToolboxSet
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more