pub struct LiveTextMenuItem {
pub title: String,
pub tag: i64,
pub is_separator: bool,
pub is_enabled: bool,
pub is_hidden: bool,
pub state: i64,
pub submenu: Option<Box<LiveTextMenu>>,
}Fields§
§title: String§tag: i64§is_separator: bool§is_enabled: bool§state: i64Trait Implementations§
Source§impl Clone for LiveTextMenuItem
impl Clone for LiveTextMenuItem
Source§fn clone(&self) -> LiveTextMenuItem
fn clone(&self) -> LiveTextMenuItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LiveTextMenuItem
impl Debug for LiveTextMenuItem
Source§impl<'de> Deserialize<'de> for LiveTextMenuItem
impl<'de> Deserialize<'de> for LiveTextMenuItem
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 LiveTextMenuItem
impl PartialEq for LiveTextMenuItem
Source§fn eq(&self, other: &LiveTextMenuItem) -> bool
fn eq(&self, other: &LiveTextMenuItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LiveTextMenuItem
impl Serialize for LiveTextMenuItem
impl Eq for LiveTextMenuItem
impl StructuralPartialEq for LiveTextMenuItem
Auto Trait Implementations§
impl Freeze for LiveTextMenuItem
impl RefUnwindSafe for LiveTextMenuItem
impl Send for LiveTextMenuItem
impl Sync for LiveTextMenuItem
impl Unpin for LiveTextMenuItem
impl UnsafeUnpin for LiveTextMenuItem
impl UnwindSafe for LiveTextMenuItem
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