pub struct Component { /* private fields */ }
Implementations§
Source§impl Component
impl Component
pub fn new() -> Result<Self, InitError>
pub fn set_seed(&mut self, seed: Seed) -> &mut Self
pub fn set_name( &mut self, name: impl Into<String>, ) -> Result<&mut Self, SetNameError>
pub fn form(&self) -> &Form
pub fn is_cancelling(&self) -> bool
pub fn output(&self) -> Option<&Form>
pub async fn run(&mut self, app: &mut App) -> Result<(), Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Component
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnwindSafe for Component
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