Enum xkcd_1975::ClickAction
source · pub enum ClickAction {
ColapseMenu,
Nav {
url: String,
},
Download {
url: String,
filename: String,
},
JSCall {
js_call: String,
},
}
Variants§
Trait Implementations§
source§impl Clone for ClickAction
impl Clone for ClickAction
source§fn clone(&self) -> ClickAction
fn clone(&self) -> ClickAction
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 ClickAction
impl Debug for ClickAction
source§impl<'de> Deserialize<'de> for ClickAction
impl<'de> Deserialize<'de> for ClickAction
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 ClickAction
impl PartialEq for ClickAction
source§fn eq(&self, other: &ClickAction) -> bool
fn eq(&self, other: &ClickAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ClickAction
impl Serialize for ClickAction
impl Eq for ClickAction
impl StructuralPartialEq for ClickAction
Auto Trait Implementations§
impl Freeze for ClickAction
impl RefUnwindSafe for ClickAction
impl Send for ClickAction
impl Sync for ClickAction
impl Unpin for ClickAction
impl UnwindSafe for ClickAction
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