Struct dioxus::prelude::ToggleData
source · pub struct ToggleData { /* private fields */ }
Available on crate feature
html
only.Implementations§
source§impl ToggleData
impl ToggleData
sourcepub fn new(inner: impl HasToggleData + 'static) -> ToggleData
pub fn new(inner: impl HasToggleData + 'static) -> ToggleData
Create a new ToggleData
Trait Implementations§
source§impl Debug for ToggleData
impl Debug for ToggleData
source§impl<'de> Deserialize<'de> for ToggleData
impl<'de> Deserialize<'de> for ToggleData
source§fn deserialize<D>(
deserializer: D
) -> Result<ToggleData, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<ToggleData, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&PlatformEventData> for ToggleData
impl From<&PlatformEventData> for ToggleData
source§fn from(val: &PlatformEventData) -> ToggleData
fn from(val: &PlatformEventData) -> ToggleData
Converts to this type from the input type.
source§impl From<&ToggleData> for SerializedToggleData
impl From<&ToggleData> for SerializedToggleData
source§fn from(_: &ToggleData) -> SerializedToggleData
fn from(_: &ToggleData) -> SerializedToggleData
Converts to this type from the input type.
source§impl<E> From<E> for ToggleDatawhere
E: HasToggleData,
impl<E> From<E> for ToggleDatawhere
E: HasToggleData,
source§fn from(e: E) -> ToggleData
fn from(e: E) -> ToggleData
Converts to this type from the input type.
source§impl PartialEq for ToggleData
impl PartialEq for ToggleData
source§fn eq(&self, _other: &ToggleData) -> bool
fn eq(&self, _other: &ToggleData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ToggleData
impl Serialize for ToggleData
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ToggleData
impl !RefUnwindSafe for ToggleData
impl !Send for ToggleData
impl !Sync for ToggleData
impl Unpin for ToggleData
impl !UnwindSafe for ToggleData
Blanket Implementations§
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.
source§impl<Cfg> TryIntoConfig for Cfg
impl<Cfg> TryIntoConfig for Cfg
source§fn into_config(self) -> Option<Cfg>
fn into_config(self) -> Option<Cfg>
Available on crate feature
launch
only.