Struct former::exposed::ReturnFormed
source · pub struct ReturnFormed;
Expand description
A FormingEnd
implementation that returns the formed container itself instead of the context.
This struct is useful when the forming process should result in the formed container being returned directly, bypassing any additional context processing. It simplifies scenarios where the formed container is the final result.
Trait Implementations§
source§impl Debug for ReturnFormed
impl Debug for ReturnFormed
source§impl Default for ReturnFormed
impl Default for ReturnFormed
source§fn default() -> ReturnFormed
fn default() -> ReturnFormed
Returns the “default value” for a type. Read more
source§impl<Storage> FormingEnd<Storage, Storage> for ReturnFormed
impl<Storage> FormingEnd<Storage, Storage> for ReturnFormed
Auto Trait Implementations§
impl Freeze for ReturnFormed
impl RefUnwindSafe for ReturnFormed
impl Send for ReturnFormed
impl Sync for ReturnFormed
impl Unpin for ReturnFormed
impl UnwindSafe for ReturnFormed
Blanket Implementations§
source§impl<S> AssignWithType for S
impl<S> AssignWithType for S
source§fn assign_with_type<T, IntoT>(&mut self, component: IntoT)where
IntoT: Into<T>,
S: ComponentAssign<T, IntoT>,
fn assign_with_type<T, IntoT>(&mut self, component: IntoT)where
IntoT: Into<T>,
S: ComponentAssign<T, IntoT>,
Function to set value of a component by its type.
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