Struct clang_ast::SourceLocation
source · [−]pub struct SourceLocation {
pub spelling_loc: Option<BareSourceLocation>,
pub expansion_loc: Option<BareSourceLocation>,
}
Fields
spelling_loc: Option<BareSourceLocation>
expansion_loc: Option<BareSourceLocation>
Trait Implementations
sourceimpl Debug for SourceLocation
impl Debug for SourceLocation
sourceimpl Default for SourceLocation
impl Default for SourceLocation
sourcefn default() -> SourceLocation
fn default() -> SourceLocation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SourceLocation
impl<'de> Deserialize<'de> for SourceLocation
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for SourceLocation
impl Serialize for SourceLocation
Auto Trait Implementations
impl RefUnwindSafe for SourceLocation
impl Send for SourceLocation
impl Sync for SourceLocation
impl Unpin for SourceLocation
impl UnwindSafe for SourceLocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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