pub enum RequestedButton {
RequestedButton(RequestedButton),
}Expand description
Variants§
RequestedButton(RequestedButton)
Trait Implementations§
Source§impl Clone for RequestedButton
impl Clone for RequestedButton
Source§fn clone(&self) -> RequestedButton
fn clone(&self) -> RequestedButton
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 moreSource§impl Debug for RequestedButton
impl Debug for RequestedButton
Source§impl Deserializable for RequestedButton
impl Deserializable for RequestedButton
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<RequestedButton> for RequestedButton
impl From<RequestedButton> for RequestedButton
Source§fn from(x: RequestedButton) -> Self
fn from(x: RequestedButton) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RequestedButton
impl PartialEq for RequestedButton
Source§impl Serializable for RequestedButton
impl Serializable for RequestedButton
Source§impl TryFrom<RequestedButton> for RequestedButton
impl TryFrom<RequestedButton> for RequestedButton
Source§type Error = RequestedButton
type Error = RequestedButton
The type returned in the event of a conversion error.
impl StructuralPartialEq for RequestedButton
Auto Trait Implementations§
impl Freeze for RequestedButton
impl RefUnwindSafe for RequestedButton
impl Send for RequestedButton
impl Sync for RequestedButton
impl Unpin for RequestedButton
impl UnsafeUnpin for RequestedButton
impl UnwindSafe for RequestedButton
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