pub struct ParsedDecl {
pub source_range: Range<usize>,
pub name: Option<String>,
pub decl_text: String,
pub valid: bool,
}Expand description
A cached parse result for one declaration
Fields§
§source_range: Range<usize>§name: Option<String>§decl_text: String§valid: boolTrait Implementations§
Source§impl Clone for ParsedDecl
impl Clone for ParsedDecl
Source§fn clone(&self) -> ParsedDecl
fn clone(&self) -> ParsedDecl
Returns a duplicate 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 ParsedDecl
impl RefUnwindSafe for ParsedDecl
impl Send for ParsedDecl
impl Sync for ParsedDecl
impl Unpin for ParsedDecl
impl UnsafeUnpin for ParsedDecl
impl UnwindSafe for ParsedDecl
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