Struct StrictMode

Source
pub struct StrictMode;

Trait Implementations§

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> 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> Component for T
where T: ComponentStatic,

Source§

type Props = <T as ComponentStatic>::Props

Source§

type Element = <T as ComponentStatic>::Element

Output of create_element. Many components may return Option<Element> in UseRender::use_render while return Element in create_element. Thus this type parameter exists.
Source§

fn create_element( self, props: <T as Component>::Props, key: Option<Key>, ) -> <T as Component>::Element

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> IntoBoxed<T> for T

Source§

fn into_boxed(self) -> Box<T>

Source§

impl<T> IntoOptionalRc<T> for T

Source§

impl<R> IntoPropValue<Option<R>> for R

Source§

impl<R> IntoPropValue<R> for R

Source§

impl<T> IntoRc<T> for T

Source§

fn into_rc(self) -> Rc<T>

Source§

impl<T> IntoRefValue<Box<T>> for T

Source§

impl<T> IntoRefValue<Rc<T>> for T

Source§

fn into_ref_value(self) -> Rc<T>

Source§

impl<T> IntoRefValue<T> for T

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> UseRender for T
where T: UseRenderStatic,

Source§

type RenderArg = <T as UseRenderStatic>::RenderArg

Source§

type RenderOutput = <T as UseRenderStatic>::RenderOutput

This allows implementor type to specify a custom type as the return type of the methods. Read more
Source§

fn use_render( &self, props: &<T as UseRender>::RenderArg, ) -> <T as UseRender>::RenderOutput