Struct ra_ap_ide::StructureNode
source · pub struct StructureNode {
pub parent: Option<usize>,
pub label: String,
pub navigation_range: TextRange,
pub node_range: TextRange,
pub kind: StructureNodeKind,
pub detail: Option<String>,
pub deprecated: bool,
}
Fields§
§parent: Option<usize>
§label: String
§node_range: TextRange
§kind: StructureNodeKind
§detail: Option<String>
§deprecated: bool
Trait Implementations§
source§impl Clone for StructureNode
impl Clone for StructureNode
source§fn clone(&self) -> StructureNode
fn clone(&self) -> StructureNode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for StructureNode
impl RefUnwindSafe for StructureNode
impl Send for StructureNode
impl Sync for StructureNode
impl Unpin for StructureNode
impl UnwindSafe for StructureNode
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
source§impl<T> Cast for T
impl<T> Cast for T
source§fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
Cast a value to type
U
using CastTo
.