pub struct RootButton {
pub name: String,
pub sub_button: Vec<ButtonItem>,
}
Fields§
§name: String
Trait Implementations§
Source§impl Clone for RootButton
impl Clone for RootButton
Source§fn clone(&self) -> RootButton
fn clone(&self) -> RootButton
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 RootButton
impl Debug for RootButton
Source§impl<'de> Deserialize<'de> for RootButton
impl<'de> Deserialize<'de> for RootButton
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<RootButton> for MenuButton
impl From<RootButton> for MenuButton
Source§fn from(r_btn: RootButton) -> Self
fn from(r_btn: RootButton) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RootButton
impl RefUnwindSafe for RootButton
impl Send for RootButton
impl Sync for RootButton
impl Unpin for RootButton
impl UnwindSafe for RootButton
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