Enum swc_ecma_ast::Accessibility
source · [−]pub enum Accessibility {
Public,
Protected,
Private,
}
Variants
Public
Protected
Private
Trait Implementations
sourceimpl Clone for Accessibility
impl Clone for Accessibility
sourcefn clone(&self) -> Accessibility
fn clone(&self) -> Accessibility
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Accessibility
impl Debug for Accessibility
sourceimpl<'de> Deserialize<'de> for Accessibility
impl<'de> Deserialize<'de> for Accessibility
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 EqIgnoreSpan for Accessibility
impl EqIgnoreSpan for Accessibility
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl Hash for Accessibility
impl Hash for Accessibility
sourceimpl PartialEq<Accessibility> for Accessibility
impl PartialEq<Accessibility> for Accessibility
sourcefn eq(&self, other: &Accessibility) -> bool
fn eq(&self, other: &Accessibility) -> bool
sourceimpl Serialize for Accessibility
impl Serialize for Accessibility
impl Copy for Accessibility
impl Eq for Accessibility
impl StructuralEq for Accessibility
impl StructuralPartialEq for Accessibility
Auto Trait Implementations
impl RefUnwindSafe for Accessibility
impl Send for Accessibility
impl Sync for Accessibility
impl Unpin for Accessibility
impl UnwindSafe for Accessibility
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