pub struct DefineButton {
pub id: u16,
pub track_as_menu: bool,
pub characters: Vec<ButtonRecord>,
pub actions: Vec<ButtonCondAction>,
}
Fields§
§id: u16
§characters: Vec<ButtonRecord>
§actions: Vec<ButtonCondAction>
Trait Implementations§
Source§impl Clone for DefineButton
impl Clone for DefineButton
Source§fn clone(&self) -> DefineButton
fn clone(&self) -> DefineButton
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 DefineButton
impl Debug for DefineButton
Source§impl<'de> Deserialize<'de> for DefineButton
impl<'de> Deserialize<'de> for DefineButton
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 PartialEq for DefineButton
impl PartialEq for DefineButton
Source§impl Serialize for DefineButton
impl Serialize for DefineButton
impl Eq for DefineButton
impl StructuralPartialEq for DefineButton
Auto Trait Implementations§
impl Freeze for DefineButton
impl RefUnwindSafe for DefineButton
impl Send for DefineButton
impl Sync for DefineButton
impl Unpin for DefineButton
impl UnwindSafe for DefineButton
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