pub struct Builder<'a, T: ComponentId> {
pub id: T,
pub state: &'a mut dyn State,
}
Fields
id: T
state: &'a mut dyn State
Trait Implementations
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for Builder<'a, T>
impl<'a, T> !Send for Builder<'a, T>
impl<'a, T> !Sync for Builder<'a, T>
impl<'a, T> Unpin for Builder<'a, T> where
T: Unpin,
impl<'a, T> !UnwindSafe for Builder<'a, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more