pub struct ToggleData { /* private fields */ }
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 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<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
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> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
source§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
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<Ret> SpawnIfAsync<(), Ret> for Ret
impl<Ret> SpawnIfAsync<(), Ret> for Ret
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.