Struct hobo::create::Base

source ·
pub struct Base(pub Entity);

Tuple Fields§

§0: Entity

Trait Implementations§

source§

impl AsElement for Base

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) -> Selfwhere 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) -> Selfwhere 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) -> Selfwhere 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) -> Selfwhere 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) -> Selfwhere 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) -> Selfwhere 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) -> Selfwhere 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) -> Selfwhere 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) -> Selfwhere 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 Base

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) -> Selfwhere Self: Sized,

source§

fn has_cmp<C: 'static>(&self) -> boolwhere 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 ) -> Selfwhere Self: Sized,

source§

impl Clone for Base

source§

fn clone(&self) -> Base

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 Base

source§

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

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

impl Hash for Base

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<Base> for Base

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for Base

source§

impl Eq for Base

source§

impl StructuralEq for Base

source§

impl StructuralPartialEq for Base

Auto Trait Implementations§

§

impl RefUnwindSafe for Base

§

impl Send for Base

§

impl Sync for Base

§

impl Unpin for Base

§

impl UnwindSafe for Base

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> AsAny for Twhere 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 Twhere 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>>) -> Selfwhere 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>>) -> Selfwhere Self: Sized,

source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> DomEvents for Twhere T: AsElement,

source§

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

source§

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

source§

fn with_on_click(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_context_menu( self, f: impl FnMut(&Self, MouseEvent) + 'static ) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_dbl_click(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_mouse_down(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_mouse_enter(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_mouse_leave(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_mouse_move(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_mouse_over(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_mouse_out(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_mouse_up(self, f: impl FnMut(&Self, MouseEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_key_down(self, f: impl FnMut(&Self, KeyboardEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_key_up(self, f: impl FnMut(&Self, KeyboardEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_change(self, f: impl FnMut(&Self, Event) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_scroll(self, f: impl FnMut(&Self, Event) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_resize(self, f: impl FnMut(&Self, UiEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_blur(self, f: impl FnMut(&Self, FocusEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_focus(self, f: impl FnMut(&Self, FocusEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_touch_start(self, f: impl FnMut(&Self, TouchEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_touch_end(self, f: impl FnMut(&Self, TouchEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_touch_move(self, f: impl FnMut(&Self, TouchEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_touch_cancel( self, f: impl FnMut(&Self, TouchEvent) + 'static ) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_wheel(self, f: impl FnMut(&Self, WheelEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_load(self, f: impl FnMut(&Self, Event) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_can_play(self, f: impl FnMut(&Self, Event) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_drag(self, f: impl FnMut(&Self, DragEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_submit(self, f: impl FnMut(&Self, SubmitEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_input(self, f: impl FnMut(&Self, InputEvent) + 'static) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_animation_cancel( self, f: impl FnMut(&Self, AnimationEvent) + 'static ) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_animation_end( self, f: impl FnMut(&Self, AnimationEvent) + 'static ) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_animation_iteration( self, f: impl FnMut(&Self, AnimationEvent) + 'static ) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_animation_start( self, f: impl FnMut(&Self, AnimationEvent) + 'static ) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

fn with_on_pop_state( self, f: impl FnMut(&Self, PopStateEvent) + 'static ) -> Selfwhere 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) -> Selfwhere Self: Sized,

source§

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

source§

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

source§

fn is<T>(&self) -> boolwhere 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 Twhere 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 Twhere 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 Twhere T: Clone,

§

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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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