pub struct PortalList2Set(/* private fields */);Implementations§
Source§impl PortalList2Set
impl PortalList2Set
pub fn has_widget(&self, widget: &WidgetRef) -> PortalList2Ref
Source§impl PortalList2Set
impl PortalList2Set
pub fn iter(&self) -> PortalList2SetIterator<'_> ⓘ
Source§impl PortalList2Set
impl PortalList2Set
pub fn set_first_id(&self, id: usize)
pub fn items_with_actions(&self, actions: &Actions) -> Vec<(usize, WidgetRef)>
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 PortalList2Set
impl Clone for PortalList2Set
Source§fn clone(&self) -> PortalList2Set
fn clone(&self) -> PortalList2Set
Returns a duplicate 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 PortalList2Set
impl Debug for PortalList2Set
Source§impl Deref for PortalList2Set
impl Deref for PortalList2Set
Auto Trait Implementations§
impl Freeze for PortalList2Set
impl !RefUnwindSafe for PortalList2Set
impl !Send for PortalList2Set
impl !Sync for PortalList2Set
impl Unpin for PortalList2Set
impl !UnwindSafe for PortalList2Set
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