pub struct AliasInvocation {
pub span: Range<usize>,
pub name: String,
pub name_span: Range<usize>,
pub overrides_span: Option<Range<usize>>,
}Expand description
Masks the !alias(…) profiles of TOML definitions from before 0.27, for their migration.
Masks the !alias(…) profiles of TOML definitions from before 0.27, for their migration.
Masks the !alias(…) profiles of TOML definitions from before 0.27, for their migration.
Fields§
§span: Range<usize>Byte span of !name or !name(...) in the original source.
name: StringRaw alias name immediately following !.
name_span: Range<usize>Byte span of name in the original source.
overrides_span: Option<Range<usize>>Byte span strictly inside (...) in the original source when parentheses are present.
Trait Implementations§
Source§impl Clone for AliasInvocation
impl Clone for AliasInvocation
Source§impl Debug for AliasInvocation
impl Debug for AliasInvocation
impl Eq for AliasInvocation
Source§impl PartialEq for AliasInvocation
impl PartialEq for AliasInvocation
impl StructuralPartialEq for AliasInvocation
Auto Trait Implementations§
impl Forget for AliasInvocation
impl Freeze for AliasInvocation
impl Move for AliasInvocation
impl RefUnwindSafe for AliasInvocation
impl Send for AliasInvocationwhere
RawVecInner: Send,
impl Sync for AliasInvocationwhere
RawVecInner: Sync,
impl Unpin for AliasInvocation
impl UnsafeUnpin for AliasInvocation
impl UnwindSafe for AliasInvocationwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.