Struct clang_ast::BareSourceLocation [−][src]
pub struct BareSourceLocation {
pub offset: usize,
pub file: Arc<str>,
pub line: usize,
pub presumed_file: Option<Arc<str>>,
pub presumed_line: Option<usize>,
pub col: usize,
pub tok_len: usize,
pub included_from: Option<IncludedFrom>,
pub is_macro_arg_expansion: bool,
}Fields
offset: usizefile: Arc<str>line: usizepresumed_file: Option<Arc<str>>presumed_line: Option<usize>col: usizetok_len: usizeincluded_from: Option<IncludedFrom>is_macro_arg_expansion: boolTrait Implementations
impl Clone for BareSourceLocation[src]
fn clone(&self) -> BareSourceLocation[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for BareSourceLocation[src]
impl<'de> Deserialize<'de> for BareSourceLocation[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for BareSourceLocation
impl Send for BareSourceLocation
impl Sync for BareSourceLocation
impl Unpin for BareSourceLocation
impl UnwindSafe for BareSourceLocation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,