pub struct Noscript(pub Entity);
Tuple Fields§
§0: Entity
Trait Implementations§
Source§impl AsElement for Noscript
impl AsElement for Noscript
fn add_child<T: AsElement>(&self, child: T)
fn child(self, child: impl AsElement) -> Self
fn with_child<T: AsElement>(self, f: impl FnOnce(&Self) -> T) -> Self
fn add_children<Item: AsElement>( &self, children: impl IntoIterator<Item = Item>, )
fn children<Item: AsElement>( self, children: impl IntoIterator<Item = Item>, ) -> Self
fn leave_parent(self)
Source§fn add_child_at<T: AsElement>(&self, at_index: usize, child: T)
fn add_child_at<T: AsElement>(&self, at_index: usize, child: T)
add a child at an index, useful to update tables without regenerating the whole container 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: impl Into<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: impl Into<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 get_attr<'k>(&self, key: impl Into<Cow<'k, str>>) -> Option<String>
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, attr: K, signal: S)
fn attr_signal<'k, 'v, S, K, V>(self, attr: K, signal: 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, signal: 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: AsElement>(&self, other: T) -> T
fn parent(&self) -> Element
fn as_element(&self) -> Element
Source§impl AsEntity for Noscript
impl AsEntity for Noscript
fn as_entity(&self) -> Entity
fn try_get_cmp<'a, C: 'static>(
&self,
) -> Option<OwningRef<StorageGuard<C, StorageRef<'a, C>>, C>>where
Self: Sized,
fn try_get_cmp_mut<'a, C: 'static>(
&self,
) -> Option<OwningRefMut<StorageGuardMut<C, StorageRefMut<'a, C>>, C>>where
Self: Sized,
fn get_cmp<'a, C: 'static>( &self, ) -> OwningRef<StorageGuard<C, StorageRef<'a, C>>, C>
fn get_cmp_mut<'a, C: 'static>( &self, ) -> OwningRefMut<StorageGuardMut<C, StorageRefMut<'a, C>>, C>
fn get_cmp_mut_or<'a, C: 'static>( &self, f: impl FnOnce() -> C, ) -> OwningRefMut<StorageGuardMut<C, StorageRefMut<'a, C>>, C>
fn get_cmp_mut_or_default<'a, C: 'static + Default>( &self, ) -> OwningRefMut<StorageGuardMut<C, StorageRefMut<'a, C>>, C>
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 remove(&self)
fn add_component<T: 'static>(&self, component: T)
fn component<T: 'static>(self, component: T) -> Selfwhere
Self: Sized,
fn has_cmp<C: 'static>(&self) -> boolwhere
Self: Sized,
fn is_dead(&self) -> bool
fn spawn(&self, f: impl Future<Output = ()> + 'static)
fn spawn_in<F: FnOnce(&Self) -> Fut, Fut: Future<Output = ()> + 'static>(
self,
f: F,
) -> Selfwhere
Self: Sized,
impl Copy for Noscript
impl Eq for Noscript
impl StructuralPartialEq for Noscript
Auto Trait Implementations§
impl Freeze for Noscript
impl RefUnwindSafe for Noscript
impl Send for Noscript
impl Sync for Noscript
impl Unpin for Noscript
impl UnwindSafe for Noscript
Blanket Implementations§
Source§impl<T> BasicAttrs for Twhere
T: AsElement,
impl<T> BasicAttrs for Twhere
T: AsElement,
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