[−][src]Struct ddbug_parser::Inherit
An inherited type of a struct or union.
Implementations
impl Inherit
[src]
pub fn type_offset(&self) -> TypeOffset
[src]
The debuginfo offset of the inherited type.
pub fn ty<'a, 'input>(
&self,
hash: &'a FileHash<'input>
) -> Option<Cow<'a, Type<'input>>>
[src]
&self,
hash: &'a FileHash<'input>
) -> Option<Cow<'a, Type<'input>>>
The inherited type.
pub fn bit_offset(&self) -> u64
[src]
The offset in bits of the inherited type within the struct.
pub fn bit_size(&self, hash: &FileHash<'_>) -> Option<u64>
[src]
The size in bits of the inherited type.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Inherit
[src]
impl Send for Inherit
[src]
impl Sync for Inherit
[src]
impl Unpin for Inherit
[src]
impl UnwindSafe for Inherit
[src]
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> 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>,