#[non_exhaustive]pub struct Drawn {
pub channel: Channel,
pub role: GizmoRole,
pub gizmo: Gizmo,
}Expand description
A gizmo handed in, with its channel and role.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.channel: ChannelIts channel.
role: GizmoRoleWhat it shows.
gizmo: GizmoIts shape.
Trait Implementations§
impl Eq for Drawn
impl StructuralPartialEq for Drawn
Auto Trait Implementations§
impl Freeze for Drawn
impl RefUnwindSafe for Drawn
impl Send for Drawn
impl Sync for Drawn
impl Unpin for Drawn
impl UnsafeUnpin for Drawn
impl UnwindSafe for Drawn
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