Struct makepad_widgets::file_tree::FileTreeSet
source · pub struct FileTreeSet(/* private fields */);
Implementations§
source§impl FileTreeSet
impl FileTreeSet
pub fn has_widget(&self, widget: &WidgetRef) -> FileTreeRef
source§impl FileTreeSet
impl FileTreeSet
pub fn iter(&self) -> FileTreeSetIterator<'_> ⓘ
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 iter(&self) -> WidgetSetIterator<'_> ⓘ
pub fn set_text(&self, v: &str)
pub fn set_text_and_redraw(&self, cx: &mut Cx, v: &str)
Trait Implementations§
source§impl Clone for FileTreeSet
impl Clone for FileTreeSet
source§fn clone(&self) -> FileTreeSet
fn clone(&self) -> FileTreeSet
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 Default for FileTreeSet
impl Default for FileTreeSet
source§fn default() -> FileTreeSet
fn default() -> FileTreeSet
Returns the “default value” for a type. Read more
source§impl Deref for FileTreeSet
impl Deref for FileTreeSet
Auto Trait Implementations§
impl !RefUnwindSafe for FileTreeSet
impl !Send for FileTreeSet
impl !Sync for FileTreeSet
impl Unpin for FileTreeSet
impl !UnwindSafe for FileTreeSet
Blanket Implementations§
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