Enum jsdoc::ast::PropOrParam
source · [−]pub enum PropOrParam {
Prop(PropertyTag),
Param(ParameterTag),
}
Variants
Prop(PropertyTag)
Param(ParameterTag)
Trait Implementations
sourceimpl Clone for PropOrParam
impl Clone for PropOrParam
sourcefn clone(&self) -> PropOrParam
fn clone(&self) -> PropOrParam
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PropOrParam
impl Debug for PropOrParam
sourceimpl<'de> Deserialize<'de> for PropOrParam
impl<'de> Deserialize<'de> for PropOrParam
sourcefn 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
sourceimpl From<ParameterTag> for PropOrParam
impl From<ParameterTag> for PropOrParam
sourcefn from(v: ParameterTag) -> Self
fn from(v: ParameterTag) -> Self
Converts to this type from the input type.
sourceimpl From<PropertyTag> for PropOrParam
impl From<PropertyTag> for PropOrParam
sourcefn from(v: PropertyTag) -> Self
fn from(v: PropertyTag) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<PropOrParam> for PropOrParam
impl PartialEq<PropOrParam> for PropOrParam
sourcefn eq(&self, other: &PropOrParam) -> bool
fn eq(&self, other: &PropOrParam) -> bool
sourceimpl Serialize for PropOrParam
impl Serialize for PropOrParam
sourceimpl Spanned for PropOrParam
impl Spanned for PropOrParam
impl StructuralPartialEq for PropOrParam
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more