pub struct BadgeResponse {
pub clicked: bool,
pub removed: bool,
pub response: Response,
}Expand description
Response from a badge
Fields§
§clicked: boolWhether the badge was clicked
removed: boolWhether the remove button was clicked (only relevant if badge is removable)
response: ResponseThe underlying egui response
Trait Implementations§
Source§impl Clone for BadgeResponse
impl Clone for BadgeResponse
Source§fn clone(&self) -> BadgeResponse
fn clone(&self) -> BadgeResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BadgeResponse
impl !RefUnwindSafe for BadgeResponse
impl Send for BadgeResponse
impl Sync for BadgeResponse
impl Unpin for BadgeResponse
impl UnsafeUnpin for BadgeResponse
impl !UnwindSafe for BadgeResponse
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