Enum jsdoc::ast::PropOrParam [−][src]
pub enum PropOrParam { Prop(PropertyTag), Param(ParameterTag), }
Variants
Prop(PropertyTag)
Param(ParameterTag)
Trait Implementations
impl Clone for PropOrParam
[src]
impl Clone for PropOrParam
[src]fn clone(&self) -> PropOrParam
[src]
fn clone(&self) -> PropOrParam
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for PropOrParam
[src]
impl Debug for PropOrParam
[src]impl<'de> Deserialize<'de> for PropOrParam
[src]
impl<'de> Deserialize<'de> for PropOrParam
[src]fn deserialize<D>(Deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(Deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl From<ParameterTag> for PropOrParam
[src]
impl From<ParameterTag> for PropOrParam
[src]fn from(v: ParameterTag) -> Self
[src]
fn from(v: ParameterTag) -> Self
[src]Performs the conversion.
impl From<PropertyTag> for PropOrParam
[src]
impl From<PropertyTag> for PropOrParam
[src]fn from(v: PropertyTag) -> Self
[src]
fn from(v: PropertyTag) -> Self
[src]Performs the conversion.
impl PartialEq<PropOrParam> for PropOrParam
[src]
impl PartialEq<PropOrParam> for PropOrParam
[src]fn eq(&self, other: &PropOrParam) -> bool
[src]
fn eq(&self, other: &PropOrParam) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PropOrParam) -> bool
[src]
fn ne(&self, other: &PropOrParam) -> bool
[src]This method tests for !=
.
impl Serialize for PropOrParam
[src]
impl Serialize for PropOrParam
[src]impl StructuralPartialEq for PropOrParam
[src]
Auto Trait Implementations
impl RefUnwindSafe for PropOrParam
impl Send for PropOrParam
impl Sync for PropOrParam
impl Unpin for PropOrParam
impl UnwindSafe for PropOrParam
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,