pub struct ItemTreeSourceMaps { /* private fields */ }
Implementations§
source§impl ItemTreeSourceMaps
impl ItemTreeSourceMaps
pub fn function( &self, index: FileItemTreeId<Function>, ) -> GenericItemSourceMap<'_>
source§impl ItemTreeSourceMaps
impl ItemTreeSourceMaps
pub fn strukt(&self, index: FileItemTreeId<Struct>) -> GenericItemSourceMap<'_>
pub fn union(&self, index: FileItemTreeId<Union>) -> GenericItemSourceMap<'_>
pub fn enum_generic(&self, index: FileItemTreeId<Enum>) -> &TypesSourceMap
pub fn variant(&self, index: FileItemTreeId<Variant>) -> &TypesSourceMap
pub fn konst(&self, index: FileItemTreeId<Const>) -> &TypesSourceMap
pub fn statik(&self, index: FileItemTreeId<Static>) -> &TypesSourceMap
pub fn trait_generic(&self, index: FileItemTreeId<Trait>) -> &TypesSourceMap
pub fn trait_alias_generic( &self, index: FileItemTreeId<TraitAlias>, ) -> &TypesSourceMap
pub fn impl_(&self, index: FileItemTreeId<Impl>) -> GenericItemSourceMap<'_>
pub fn type_alias( &self, index: FileItemTreeId<TypeAlias>, ) -> GenericItemSourceMap<'_>
Trait Implementations§
source§impl Debug for ItemTreeSourceMaps
impl Debug for ItemTreeSourceMaps
source§impl Default for ItemTreeSourceMaps
impl Default for ItemTreeSourceMaps
source§fn default() -> ItemTreeSourceMaps
fn default() -> ItemTreeSourceMaps
Returns the “default value” for a type. Read more
source§impl PartialEq for ItemTreeSourceMaps
impl PartialEq for ItemTreeSourceMaps
impl Eq for ItemTreeSourceMaps
impl StructuralPartialEq for ItemTreeSourceMaps
Auto Trait Implementations§
impl Freeze for ItemTreeSourceMaps
impl RefUnwindSafe for ItemTreeSourceMaps
impl Send for ItemTreeSourceMaps
impl Sync for ItemTreeSourceMaps
impl Unpin for ItemTreeSourceMaps
impl UnwindSafe for ItemTreeSourceMaps
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more