pub struct GuiButtonPressedEvent {
pub index: u8,
pub pressed: bool,
}
Fields§
§index: u8
§pressed: bool
Trait Implementations§
Source§impl Clone for GuiButtonPressedEvent
impl Clone for GuiButtonPressedEvent
Source§fn clone(&self) -> GuiButtonPressedEvent
fn clone(&self) -> GuiButtonPressedEvent
Returns a copy 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 moreSource§impl Debug for GuiButtonPressedEvent
impl Debug for GuiButtonPressedEvent
Source§impl Default for GuiButtonPressedEvent
impl Default for GuiButtonPressedEvent
Source§fn default() -> GuiButtonPressedEvent
fn default() -> GuiButtonPressedEvent
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for GuiButtonPressedEvent
impl FromByteSlice for GuiButtonPressedEvent
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(bytes: &[u8]) -> GuiButtonPressedEvent
fn from_le_byte_slice(bytes: &[u8]) -> GuiButtonPressedEvent
Deserialize the implementing type from a byte slice.
Source§impl Hash for GuiButtonPressedEvent
impl Hash for GuiButtonPressedEvent
Source§impl PartialEq for GuiButtonPressedEvent
impl PartialEq for GuiButtonPressedEvent
impl Copy for GuiButtonPressedEvent
impl Eq for GuiButtonPressedEvent
impl StructuralPartialEq for GuiButtonPressedEvent
Auto Trait Implementations§
impl Freeze for GuiButtonPressedEvent
impl RefUnwindSafe for GuiButtonPressedEvent
impl Send for GuiButtonPressedEvent
impl Sync for GuiButtonPressedEvent
impl Unpin for GuiButtonPressedEvent
impl UnwindSafe for GuiButtonPressedEvent
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