pub enum ContextActionsElement {
FeedbackButtons(Box<FeedbackButtons>),
IconButton(Box<IconButton>),
}Expand description
Objects that can be an element of the ContextActions block.
Variants§
FeedbackButtons(Box<FeedbackButtons>)
Feedback buttons element representation
IconButton(Box<IconButton>)
Icon button element representation
Trait Implementations§
Source§impl Clone for ContextActionsElement
impl Clone for ContextActionsElement
Source§fn clone(&self) -> ContextActionsElement
fn clone(&self) -> ContextActionsElement
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 ContextActionsElement
impl Debug for ContextActionsElement
Source§impl From<FeedbackButtons> for ContextActionsElement
impl From<FeedbackButtons> for ContextActionsElement
Source§fn from(value: FeedbackButtons) -> Self
fn from(value: FeedbackButtons) -> Self
Converts to this type from the input type.
Source§impl From<IconButton> for ContextActionsElement
impl From<IconButton> for ContextActionsElement
Source§fn from(value: IconButton) -> Self
fn from(value: IconButton) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ContextActionsElement
impl PartialEq for ContextActionsElement
Source§fn eq(&self, other: &ContextActionsElement) -> bool
fn eq(&self, other: &ContextActionsElement) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContextActionsElement
impl Serialize for ContextActionsElement
impl StructuralPartialEq for ContextActionsElement
Auto Trait Implementations§
impl Freeze for ContextActionsElement
impl RefUnwindSafe for ContextActionsElement
impl Send for ContextActionsElement
impl Sync for ContextActionsElement
impl Unpin for ContextActionsElement
impl UnsafeUnpin for ContextActionsElement
impl UnwindSafe for ContextActionsElement
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