pub struct GuiButtonPressedCallbackConfiguration {
pub period: u32,
pub value_has_to_change: bool,
}
Fields§
§period: u32
§value_has_to_change: bool
Trait Implementations§
source§impl Clone for GuiButtonPressedCallbackConfiguration
impl Clone for GuiButtonPressedCallbackConfiguration
source§fn clone(&self) -> GuiButtonPressedCallbackConfiguration
fn clone(&self) -> GuiButtonPressedCallbackConfiguration
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 Default for GuiButtonPressedCallbackConfiguration
impl Default for GuiButtonPressedCallbackConfiguration
source§fn default() -> GuiButtonPressedCallbackConfiguration
fn default() -> GuiButtonPressedCallbackConfiguration
Returns the “default value” for a type. Read more
source§impl FromByteSlice for GuiButtonPressedCallbackConfiguration
impl FromByteSlice for GuiButtonPressedCallbackConfiguration
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]) -> GuiButtonPressedCallbackConfiguration
fn from_le_byte_slice(bytes: &[u8]) -> GuiButtonPressedCallbackConfiguration
Deserialize the implementing type from a byte slice.
source§impl PartialEq for GuiButtonPressedCallbackConfiguration
impl PartialEq for GuiButtonPressedCallbackConfiguration
source§fn eq(&self, other: &GuiButtonPressedCallbackConfiguration) -> bool
fn eq(&self, other: &GuiButtonPressedCallbackConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GuiButtonPressedCallbackConfiguration
impl Eq for GuiButtonPressedCallbackConfiguration
impl StructuralPartialEq for GuiButtonPressedCallbackConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for GuiButtonPressedCallbackConfiguration
impl Send for GuiButtonPressedCallbackConfiguration
impl Sync for GuiButtonPressedCallbackConfiguration
impl Unpin for GuiButtonPressedCallbackConfiguration
impl UnwindSafe for GuiButtonPressedCallbackConfiguration
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