pub struct Host { /* private fields */ }Expand description
An object of the host program: a component being built, a color, a binding. Builders take it by value, so using it moves it out, as in Rust; a second use is an error.
Implementations§
Source§impl Host
impl Host
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Host
impl !Send for Host
impl !Sync for Host
impl !UnwindSafe for Host
impl Freeze for Host
impl Unpin for Host
impl UnsafeUnpin for Host
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