Enum stc_ts_file_analyzer::analyzer::types::mapped::PropertyName
source · [−]pub(crate) enum PropertyName {
Key(Key),
IndexSignature {
span: Span,
params: Vec<FnParam>,
readonly: bool,
},
}
Variants
Key(Key)
IndexSignature
Created from an index signature.
Trait Implementations
sourceimpl Clone for PropertyName
impl Clone for PropertyName
sourcefn clone(&self) -> PropertyName
fn clone(&self) -> PropertyName
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 PropertyName
impl Debug for PropertyName
sourceimpl From<Key> for PropertyName
impl From<Key> for PropertyName
sourceimpl PartialEq<PropertyName> for PropertyName
impl PartialEq<PropertyName> for PropertyName
sourcefn eq(&self, other: &PropertyName) -> bool
fn eq(&self, other: &PropertyName) -> bool
sourceimpl Spanned for PropertyName
impl Spanned for PropertyName
sourceimpl TypeEq for PropertyName
impl TypeEq for PropertyName
impl StructuralPartialEq for PropertyName
Auto Trait Implementations
impl RefUnwindSafe for PropertyName
impl Send for PropertyName
impl Sync for PropertyName
impl Unpin for PropertyName
impl UnwindSafe for PropertyName
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<R, N> IntoRNode<R> for Nwhere
R: RNode<Orig = N>,
impl<R, N> IntoRNode<R> for Nwhere
R: RNode<Orig = N>,
fn into_rnode(self, g: &mut NodeIdGenerator) -> R
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> SpanExt for Twhere
T: Spanned,
impl<T> SpanExt for Twhere
T: Spanned,
fn is_synthesized(&self) -> bool
fn starts_on_new_line(&self, format: ListFormat) -> bool
sourcefn comment_range(&self) -> Span
fn comment_range(&self) -> Span
Gets a custom text range to use when emitting comments.