pub struct Optgroup(pub Entity);Tuple Fields§
§0: EntityTrait Implementations§
Source§impl AsEntity for Optgroup
impl AsEntity for Optgroup
fn as_entity(&self) -> Entity
fn try_get_cmp<'a, C: 'static>(
&self,
) -> Option<OwningRef<OwningRef<OwningHandle<Rc<RefCell<Box<dyn DynStorage + 'static>>>, Ref<'a, Box<dyn DynStorage>>>, SimpleStorage<C>>, C>>where
Self: Sized,
fn try_get_cmp_mut<'a, C: 'static>(
&self,
) -> Option<OwningRefMut<StorageGuard<'a, C, OwningRefMut<OwningHandle<Rc<RefCell<Box<dyn DynStorage + 'static>>>, RefMut<'a, Box<dyn DynStorage>>>, SimpleStorage<C>>>, C>>where
Self: Sized,
fn get_cmp<'a, C: 'static>(
&self,
) -> OwningRef<OwningRef<OwningHandle<Rc<RefCell<Box<dyn DynStorage + 'static>>>, Ref<'a, Box<dyn DynStorage>>>, SimpleStorage<C>>, C>where
Self: Sized,
fn get_cmp_mut<'a, C: 'static>(
&self,
) -> OwningRefMut<StorageGuard<'a, C, OwningRefMut<OwningHandle<Rc<RefCell<Box<dyn DynStorage + 'static>>>, RefMut<'a, Box<dyn DynStorage>>>, SimpleStorage<C>>>, C>where
Self: Sized,
fn get_cmp_mut_or<'a, C: 'static>(
&self,
f: impl FnOnce() -> C,
) -> OwningRefMut<StorageGuard<'a, C, OwningRefMut<OwningHandle<Rc<RefCell<Box<dyn DynStorage + 'static>>>, RefMut<'a, Box<dyn DynStorage>>>, SimpleStorage<C>>>, C>where
Self: Sized,
fn get_cmp_mut_or_default<'a, C: 'static + Default>(
&self,
) -> OwningRefMut<StorageGuard<'a, C, OwningRefMut<OwningHandle<Rc<RefCell<Box<dyn DynStorage + 'static>>>, RefMut<'a, Box<dyn DynStorage>>>, SimpleStorage<C>>>, C>where
Self: Sized,
fn remove_cmp<C: 'static>(&self)where
Self: Sized,
fn find_in_ancestors<Q: Query>(&self) -> Vec<Q::Fetch>
fn try_find_first_in_ancestors<Q: Query>(&self) -> Option<Q::Fetch>
fn find_first_in_ancestors<Q: Query>(&self) -> Q::Fetch
fn find_in_descendants<Q: Query>(&self) -> Vec<Q::Fetch>
fn find_in_children<Q: Query>(&self) -> Vec<Q::Fetch>
fn try_find_first_in_descendants<Q: Query>(&self) -> Option<Q::Fetch>
fn try_find_first_in_children<Q: Query>(&self) -> Option<Q::Fetch>
fn find_first_in_descendants<Q: Query>(&self) -> Q::Fetch
fn find_first_in_children<Q: Query>(&self) -> Q::Fetch
fn has_cmp<C: 'static>(&self) -> boolwhere
Self: Sized,
fn remove(&self)
fn is_dead(&self) -> bool
fn add_component<T: 'static>(&self, component: T)
fn component<T: 'static>(self, component: T) -> Selfwhere
Self: Sized,
Source§impl Element for Optgroup
impl Element for Optgroup
fn add_child(&self, child: impl Element)
fn child(self, child: impl Element) -> Self
fn add_children<Item: Element>(&self, children: impl IntoIterator<Item = Item>)
fn children<Item: Element>( self, children: impl IntoIterator<Item = Item>, ) -> Self
fn leave_parent(self)
fn add_child_at(&self, at_id: usize, child: impl Element)
fn add_child_signal<S, E>(&self, signal: S)
fn child_signal<S, E>(self, signal: S) -> Self
fn set_class_tagged<Tag: Hash + 'static>( &self, tag: Tag, style: impl Into<Style>, )
fn set_class_typed<Type: 'static>(&self, style: Style)
fn set_class(&self, style: impl Into<Style>)
fn add_class(&self, style: impl Into<Style>)
fn class(self, style: impl Into<Style>) -> Self
fn class_tagged<Tag: Hash + 'static>( self, tag: Tag, style: impl Into<Style>, ) -> Self
fn class_typed<Type: 'static>(self, style: Style) -> Self
fn set_class_signal<S, I>(&self, signal: S)
fn class_signal<S, I>(self, signal: S) -> Self
fn set_class_typed_signal<Type, S, I>(&self, signal: S)
fn class_typed_signal<Type, S, I>(self, signal: S) -> Self
fn set_class_tagged_signal<Tag, S, I>(&self, tag: Tag, signal: S)
fn class_tagged_signal<Tag, S, I>(self, tag: Tag, signal: S) -> Self
fn set_attr<'k, 'v>( &self, key: impl Into<Cow<'k, str>>, value: impl Into<Cow<'v, str>>, )
fn attr<'k, 'v>( self, key: impl Into<Cow<'k, str>>, value: impl Into<Cow<'v, str>>, ) -> Self
fn set_bool_attr<'k>(&self, key: impl Into<Cow<'k, str>>, value: bool)
fn bool_attr<'k>(self, key: impl Into<Cow<'k, str>>, value: bool) -> Self
fn remove_attr<'k>(&self, key: impl Into<Cow<'k, str>>)
fn set_attr_signal<'k, 'v, S, K, V>(&self, signal: S)
fn attr_signal<'k, 'v, S, K, V>(self, x: S) -> Self
fn set_bool_attr_signal<'k, S, K>(&self, attr: K, signal: S)
fn bool_attr_signal<'k, S, K>(self, attr: K, x: S) -> Self
fn set_text<'a>(&self, text: impl Into<Cow<'a, str>>)
fn text<'a>(self, x: impl Into<Cow<'a, str>>) -> Self
fn set_text_signal<'a, S, I>(&self, signal: S)
fn text_signal<'a, S, I>(self, x: S) -> Self
fn set_style(&self, style: impl AppendProperty)
fn style(self, style: impl AppendProperty) -> Self
fn remove_style(&self)
fn set_style_signal<S, I>(&self, signal: S)where
I: AppendProperty,
S: Signal<Item = I> + 'static,
fn style_signal<S, I>(self, signal: S) -> Selfwhere
I: AppendProperty,
S: Signal<Item = I> + 'static,
fn mark<T: 'static>(self) -> Self
fn unmark<T: 'static>(self) -> Self
fn mark_signal<T: 'static, S>(self, signal: S) -> Self
fn with_component<T: 'static>(self, f: impl FnOnce(&Self) -> T) -> Self
fn replace_with<T: Element>(&self, other: T) -> T
fn with(self, f: impl FnOnce(&Self)) -> Self
fn erase(&self) -> SomeElement
impl Copy for Optgroup
impl Eq for Optgroup
impl StructuralPartialEq for Optgroup
Auto Trait Implementations§
impl Freeze for Optgroup
impl RefUnwindSafe for Optgroup
impl Send for Optgroup
impl Sync for Optgroup
impl Unpin for Optgroup
impl UnwindSafe for Optgroup
Blanket Implementations§
Source§impl<T> Blur for Twhere
T: Element,
impl<T> Blur for Twhere
T: Element,
fn add_on_blur(&self, f: impl FnMut(FocusEvent) + 'static)
fn on_blur(self, f: impl FnMut(FocusEvent) + 'static) -> Selfwhere
Self: Sized,
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