pub struct Hello {
pub name: String,
pub color: RgbColor,
}Expand description
The same Hello shape [dartboard_local::Hello] uses; defined here to
avoid a server dep from the client-ws crate.
Fields§
§name: String§color: RgbColorTrait Implementations§
Auto Trait Implementations§
impl Freeze for Hello
impl RefUnwindSafe for Hello
impl Send for Hello
impl Sync for Hello
impl Unpin for Hello
impl UnsafeUnpin for Hello
impl UnwindSafe for Hello
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