Struct Noscript

Source
pub struct Noscript(pub Entity);

Tuple Fields§

§0: Entity

Trait Implementations§

Source§

impl AsElement for Noscript

Source§

fn add_child<T: AsElement>(&self, child: T)

Source§

fn child(self, child: impl AsElement) -> Self

Source§

fn with_child<T: AsElement>(self, f: impl FnOnce(&Self) -> T) -> Self

Source§

fn add_children<Item: AsElement>( &self, children: impl IntoIterator<Item = Item>, )

Source§

fn children<Item: AsElement>( self, children: impl IntoIterator<Item = Item>, ) -> Self

Source§

fn leave_parent(self)

Source§

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
Source§

fn add_child_signal<S, E>(&self, signal: S)
where E: AsElement, S: Signal<Item = E> + 'static,

Source§

fn child_signal<S, E>(self, signal: S) -> Self
where E: AsElement, S: Signal<Item = E> + 'static,

Source§

fn set_class_tagged<Tag: Hash + 'static>( &self, tag: Tag, style: impl Into<Style>, )

Source§

fn set_class_typed<Type: 'static>(&self, style: impl Into<Style>)

Source§

fn set_class(&self, style: impl Into<Style>)

Source§

fn add_class(&self, style: impl Into<Style>)

Source§

fn class(self, style: impl Into<Style>) -> Self

Source§

fn class_tagged<Tag: Hash + 'static>( self, tag: Tag, style: impl Into<Style>, ) -> Self

Source§

fn class_typed<Type: 'static>(self, style: impl Into<Style>) -> Self

Source§

fn set_class_signal<S, I>(&self, signal: S)
where I: Into<Style>, S: Signal<Item = I> + 'static,

Source§

fn class_signal<S, I>(self, signal: S) -> Self
where I: Into<Style>, S: Signal<Item = I> + 'static,

Source§

fn set_class_typed_signal<Type, S, I>(&self, signal: S)
where Type: 'static, I: Into<Style>, S: Signal<Item = I> + 'static,

Source§

fn class_typed_signal<Type, S, I>(self, signal: S) -> Self
where Type: 'static, I: Into<Style>, S: Signal<Item = I> + 'static,

Source§

fn set_class_tagged_signal<Tag, S, I>(&self, tag: Tag, signal: S)
where Tag: Hash + Copy + 'static, I: Into<Style>, S: Signal<Item = I> + 'static,

Source§

fn class_tagged_signal<Tag, S, I>(self, tag: Tag, signal: S) -> Self
where Tag: Hash + Copy + 'static, I: Into<Style>, S: Signal<Item = I> + 'static,

Source§

fn get_attr<'k>(&self, key: impl Into<Cow<'k, str>>) -> Option<String>

Source§

fn set_attr<'k, 'v>( &self, key: impl Into<Cow<'k, str>>, value: impl Into<Cow<'v, str>>, )

Source§

fn attr<'k, 'v>( self, key: impl Into<Cow<'k, str>>, value: impl Into<Cow<'v, str>>, ) -> Self

Source§

fn set_bool_attr<'k>(&self, key: impl Into<Cow<'k, str>>, value: bool)

Source§

fn bool_attr<'k>(self, key: impl Into<Cow<'k, str>>, value: bool) -> Self

Source§

fn remove_attr<'k>(&self, key: impl Into<Cow<'k, str>>)

Source§

fn set_attr_signal<'k, 'v, S, K, V>(&self, attr: K, signal: S)
where K: Into<Cow<'k, str>>, V: Into<Cow<'v, str>>, S: Signal<Item = V> + 'static,

Source§

fn attr_signal<'k, 'v, S, K, V>(self, attr: K, signal: S) -> Self
where K: Into<Cow<'k, str>>, V: Into<Cow<'v, str>>, S: Signal<Item = V> + 'static,

Source§

fn set_bool_attr_signal<'k, S, K>(&self, attr: K, signal: S)
where K: Into<Cow<'k, str>>, S: Signal<Item = bool> + 'static,

Source§

fn bool_attr_signal<'k, S, K>(self, attr: K, signal: S) -> Self
where K: Into<Cow<'k, str>>, S: Signal<Item = bool> + 'static,

Source§

fn set_text<'a>(&self, text: impl Into<Cow<'a, str>>)

Source§

fn text<'a>(self, x: impl Into<Cow<'a, str>>) -> Self

Source§

fn set_text_signal<'a, S, I>(&self, signal: S)
where I: Into<Cow<'a, str>>, S: Signal<Item = I> + 'static,

Source§

fn text_signal<'a, S, I>(self, x: S) -> Self
where I: Into<Cow<'a, str>>, S: Signal<Item = I> + 'static,

Source§

fn set_style(&self, style: impl AppendProperty)

Source§

fn style(self, style: impl AppendProperty) -> Self

Source§

fn remove_style(&self)

Source§

fn set_style_signal<S, I>(&self, signal: S)
where I: AppendProperty, S: Signal<Item = I> + 'static,

Source§

fn style_signal<S, I>(self, signal: S) -> Self
where I: AppendProperty, S: Signal<Item = I> + 'static,

Source§

fn mark<T: 'static>(self) -> Self

Source§

fn unmark<T: 'static>(self) -> Self

Source§

fn mark_signal<T: 'static, S>(self, signal: S) -> Self
where S: Signal<Item = bool> + 'static,

Source§

fn with_component<T: 'static>(self, f: impl FnOnce(&Self) -> T) -> Self

Source§

fn replace_with<T: AsElement>(&self, other: T) -> T

Source§

fn parent(&self) -> Element

Source§

fn with(self, f: impl FnOnce(&Self)) -> Self

👎Deprecated: use .tap() instead
Source§

fn as_element(&self) -> Element

Source§

impl AsEntity for Noscript

Source§

fn as_entity(&self) -> Entity

Source§

fn try_get_cmp<'a, C: 'static>( &self, ) -> Option<OwningRef<StorageGuard<C, StorageRef<'a, C>>, C>>
where Self: Sized,

Source§

fn try_get_cmp_mut<'a, C: 'static>( &self, ) -> Option<OwningRefMut<StorageGuardMut<C, StorageRefMut<'a, C>>, C>>
where Self: Sized,

Source§

fn get_cmp<'a, C: 'static>( &self, ) -> OwningRef<StorageGuard<C, StorageRef<'a, C>>, C>

Source§

fn get_cmp_mut<'a, C: 'static>( &self, ) -> OwningRefMut<StorageGuardMut<C, StorageRefMut<'a, C>>, C>

Source§

fn get_cmp_mut_or<'a, C: 'static>( &self, f: impl FnOnce() -> C, ) -> OwningRefMut<StorageGuardMut<C, StorageRefMut<'a, C>>, C>

Source§

fn get_cmp_mut_or_default<'a, C: 'static + Default>( &self, ) -> OwningRefMut<StorageGuardMut<C, StorageRefMut<'a, C>>, C>

Source§

fn remove_cmp<C: 'static>(&self)
where Self: Sized,

Source§

fn find_in_ancestors<Q: Query>(&self) -> Vec<Q::Fetch>

Source§

fn try_find_first_in_ancestors<Q: Query>(&self) -> Option<Q::Fetch>

Source§

fn find_first_in_ancestors<Q: Query>(&self) -> Q::Fetch

Source§

fn find_in_descendants<Q: Query>(&self) -> Vec<Q::Fetch>

Source§

fn find_in_children<Q: Query>(&self) -> Vec<Q::Fetch>

Source§

fn try_find_first_in_descendants<Q: Query>(&self) -> Option<Q::Fetch>

Source§

fn try_find_first_in_children<Q: Query>(&self) -> Option<Q::Fetch>

Source§

fn find_first_in_descendants<Q: Query>(&self) -> Q::Fetch

Source§

fn find_first_in_children<Q: Query>(&self) -> Q::Fetch

Source§

fn remove(&self)

Source§

fn add_component<T: 'static>(&self, component: T)

Source§

fn component<T: 'static>(self, component: T) -> Self
where Self: Sized,

Source§

fn has_cmp<C: 'static>(&self) -> bool
where Self: Sized,

Source§

fn is_dead(&self) -> bool

Source§

fn spawn(&self, f: impl Future<Output = ()> + 'static)

Source§

fn spawn_in<F: FnOnce(&Self) -> Fut, Fut: Future<Output = ()> + 'static>( self, f: F, ) -> Self
where Self: Sized,

Source§

impl Clone for Noscript

Source§

fn clone(&self) -> Noscript

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Noscript

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for Noscript

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Noscript

Source§

fn eq(&self, other: &Noscript) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Noscript

Source§

impl Eq for Noscript

Source§

impl StructuralPartialEq for Noscript

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> AsAny for T
where T: Any,

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn type_name(&self) -> &'static str

Gets the type name of self
Source§

impl<T> BasicAttrs for T
where T: AsElement,

Source§

fn set_name<'a>(&self, x: impl Into<Cow<'a, str>>)

Source§

fn name<'a>(self, x: impl Into<Cow<'a, str>>) -> Self
where Self: Sized,

Source§

fn set_id<'a>(&self, x: impl Into<Cow<'a, str>>)

Source§

fn id<'a>(self, x: impl Into<Cow<'a, str>>) -> Self
where Self: Sized,

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DomEvents for T
where T: AsElement,

Source§

fn add_on_click(&self, f: impl FnMut(MouseEvent) + 'static)

Source§

fn on_click(self, f: impl FnMut(MouseEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_click(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_context_menu(&self, f: impl FnMut(MouseEvent) + 'static)

Source§

fn on_context_menu(self, f: impl FnMut(MouseEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_context_menu( self, f: impl FnMut(&Self, MouseEvent) + 'static, ) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_dbl_click(&self, f: impl FnMut(MouseEvent) + 'static)

Source§

fn on_dbl_click(self, f: impl FnMut(MouseEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_dbl_click(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_mouse_down(&self, f: impl FnMut(MouseEvent) + 'static)

Source§

fn on_mouse_down(self, f: impl FnMut(MouseEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_mouse_down(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_mouse_enter(&self, f: impl FnMut(MouseEvent) + 'static)

Source§

fn on_mouse_enter(self, f: impl FnMut(MouseEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_mouse_enter(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_mouse_leave(&self, f: impl FnMut(MouseEvent) + 'static)

Source§

fn on_mouse_leave(self, f: impl FnMut(MouseEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_mouse_leave(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_mouse_move(&self, f: impl FnMut(MouseEvent) + 'static)

Source§

fn on_mouse_move(self, f: impl FnMut(MouseEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_mouse_move(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_mouse_over(&self, f: impl FnMut(MouseEvent) + 'static)

Source§

fn on_mouse_over(self, f: impl FnMut(MouseEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_mouse_over(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_mouse_out(&self, f: impl FnMut(MouseEvent) + 'static)

Source§

fn on_mouse_out(self, f: impl FnMut(MouseEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_mouse_out(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_mouse_up(&self, f: impl FnMut(MouseEvent) + 'static)

Source§

fn on_mouse_up(self, f: impl FnMut(MouseEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_mouse_up(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_key_down(&self, f: impl FnMut(KeyboardEvent) + 'static)

Source§

fn on_key_down(self, f: impl FnMut(KeyboardEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_key_down(self, f: impl FnMut(&Self, KeyboardEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_key_up(&self, f: impl FnMut(KeyboardEvent) + 'static)

Source§

fn on_key_up(self, f: impl FnMut(KeyboardEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_key_up(self, f: impl FnMut(&Self, KeyboardEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_change(&self, f: impl FnMut(Event) + 'static)

Source§

fn on_change(self, f: impl FnMut(Event) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_change(self, f: impl FnMut(&Self, Event) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_scroll(&self, f: impl FnMut(Event) + 'static)

Source§

fn on_scroll(self, f: impl FnMut(Event) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_scroll(self, f: impl FnMut(&Self, Event) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_resize(&self, f: impl FnMut(UiEvent) + 'static)

Source§

fn on_resize(self, f: impl FnMut(UiEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_resize(self, f: impl FnMut(&Self, UiEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_blur(&self, f: impl FnMut(FocusEvent) + 'static)

Source§

fn on_blur(self, f: impl FnMut(FocusEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_blur(self, f: impl FnMut(&Self, FocusEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_focus(&self, f: impl FnMut(FocusEvent) + 'static)

Source§

fn on_focus(self, f: impl FnMut(FocusEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_focus(self, f: impl FnMut(&Self, FocusEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_touch_start(&self, f: impl FnMut(TouchEvent) + 'static)

Source§

fn on_touch_start(self, f: impl FnMut(TouchEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_touch_start(self, f: impl FnMut(&Self, TouchEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_touch_end(&self, f: impl FnMut(TouchEvent) + 'static)

Source§

fn on_touch_end(self, f: impl FnMut(TouchEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_touch_end(self, f: impl FnMut(&Self, TouchEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_touch_move(&self, f: impl FnMut(TouchEvent) + 'static)

Source§

fn on_touch_move(self, f: impl FnMut(TouchEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_touch_move(self, f: impl FnMut(&Self, TouchEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_touch_cancel(&self, f: impl FnMut(TouchEvent) + 'static)

Source§

fn on_touch_cancel(self, f: impl FnMut(TouchEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_touch_cancel( self, f: impl FnMut(&Self, TouchEvent) + 'static, ) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_wheel(&self, f: impl FnMut(WheelEvent) + 'static)

Source§

fn on_wheel(self, f: impl FnMut(WheelEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_wheel(self, f: impl FnMut(&Self, WheelEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_load(&self, f: impl FnMut(Event) + 'static)

Source§

fn on_load(self, f: impl FnMut(Event) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_load(self, f: impl FnMut(&Self, Event) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_can_play(&self, f: impl FnMut(Event) + 'static)

Source§

fn on_can_play(self, f: impl FnMut(Event) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_can_play(self, f: impl FnMut(&Self, Event) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_drag(&self, f: impl FnMut(DragEvent) + 'static)

Source§

fn on_drag(self, f: impl FnMut(DragEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_drag(self, f: impl FnMut(&Self, DragEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_submit(&self, f: impl FnMut(SubmitEvent) + 'static)

Source§

fn on_submit(self, f: impl FnMut(SubmitEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_submit(self, f: impl FnMut(&Self, SubmitEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_input(&self, f: impl FnMut(InputEvent) + 'static)

Source§

fn on_input(self, f: impl FnMut(InputEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_input(self, f: impl FnMut(&Self, InputEvent) + 'static) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_animation_cancel(&self, f: impl FnMut(AnimationEvent) + 'static)

Source§

fn on_animation_cancel(self, f: impl FnMut(AnimationEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_animation_cancel( self, f: impl FnMut(&Self, AnimationEvent) + 'static, ) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_animation_end(&self, f: impl FnMut(AnimationEvent) + 'static)

Source§

fn on_animation_end(self, f: impl FnMut(AnimationEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_animation_end( self, f: impl FnMut(&Self, AnimationEvent) + 'static, ) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_animation_iteration(&self, f: impl FnMut(AnimationEvent) + 'static)

Source§

fn on_animation_iteration(self, f: impl FnMut(AnimationEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_animation_iteration( self, f: impl FnMut(&Self, AnimationEvent) + 'static, ) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_animation_start(&self, f: impl FnMut(AnimationEvent) + 'static)

Source§

fn on_animation_start(self, f: impl FnMut(AnimationEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_animation_start( self, f: impl FnMut(&Self, AnimationEvent) + 'static, ) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_pop_state(&self, f: impl FnMut(PopStateEvent) + 'static)

Source§

fn on_pop_state(self, f: impl FnMut(PopStateEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_pop_state( self, f: impl FnMut(&Self, PopStateEvent) + 'static, ) -> Self
where Self: Sized + Clone + 'static,

Source§

fn add_on_hash_change(&self, f: impl FnMut(HashChangeEvent) + 'static)

Source§

fn on_hash_change(self, f: impl FnMut(HashChangeEvent) + 'static) -> Self
where Self: Sized,

Source§

fn with_on_hash_change( self, f: impl FnMut(&Self, HashChangeEvent) + 'static, ) -> Self
where Self: Sized + Clone + 'static,

Source§

impl<T> Downcast for T
where T: AsAny + ?Sized,

Source§

fn is<T>(&self) -> bool
where T: AsAny,

Returns true if the boxed type is the same as T. Read more
Source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: AsAny,

Forward to the method defined on the type Any.
Source§

fn downcast_mut<T>(&mut self) -> Option<&mut T>
where T: AsAny,

Forward to the method defined on the type Any.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Resource for T
where T: 'static,

Source§

fn register_resource(self)
where Self: Sized,

Source§

fn resource<'a>() -> OwningRef<StorageGuard<Self, StorageRef<'a, Self>>, Self>
where Self: Sized,

Source§

fn resource_mut<'a>() -> OwningRefMut<StorageGuardMut<Self, StorageRefMut<'a, Self>>, Self>
where Self: Sized,

Source§

fn try_resource<'a>() -> Option<OwningRef<StorageGuard<Self, StorageRef<'a, Self>>, Self>>
where Self: Sized,

Source§

fn try_resource_mut<'a>() -> Option<OwningRefMut<StorageGuardMut<Self, StorageRefMut<'a, Self>>, Self>>
where Self: Sized,

Source§

fn remove_resource()
where Self: Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Erased for T