pub struct DebugFile(/* private fields */);
Implementations§
Source§impl DebugFile
impl DebugFile
pub fn ingredient(db: &dyn Database) -> &IngredientImpl<Self>
pub fn ingredient_mut( db: &mut dyn Database, ) -> (&mut IngredientImpl<Self>, &mut Runtime)
Source§impl DebugFile
impl DebugFile
pub fn new<Db_>(db: &Db_, file: File, relocatable: bool) -> Self
pub fn builder(file: File, relocatable: bool) -> <Self as HasBuilder>::Builder
Sourcepub fn file<'db, Db_>(self, db: &'db Db_) -> File
pub fn file<'db, Db_>(self, db: &'db Db_) -> File
The underlying file/metadata for this debug file
Sourcepub fn relocatable<'db, Db_>(self, db: &'db Db_) -> bool
pub fn relocatable<'db, Db_>(self, db: &'db Db_) -> bool
Whether this debug file is relocatable (i..e it is split from the main binary and can be loaded independently)
pub fn set_file<'db, Db_>( self, db: &'db mut Db_, ) -> impl Setter<FieldTy = File> + use<'db, Db_>
pub fn set_relocatable<'db, Db_>( self, db: &'db mut Db_, ) -> impl Setter<FieldTy = bool> + use<'db, Db_>
Trait Implementations§
Source§impl Configuration for DebugFile
impl Configuration for DebugFile
const LOCATION: Location
const DEBUG_NAME: &'static str = "DebugFile"
const FIELD_DEBUG_NAMES: &'static [&'static str]
Source§type Durabilities = [Durability; 2]
type Durabilities = [Durability; 2]
A array of
Durability
, one per each of the value fields.Source§impl Ord for DebugFile
impl Ord for DebugFile
Source§impl PartialOrd for DebugFile
impl PartialOrd for DebugFile
impl Copy for DebugFile
impl Eq for DebugFile
impl StructuralPartialEq for DebugFile
Auto Trait Implementations§
impl Freeze for DebugFile
impl RefUnwindSafe for DebugFile
impl Send for DebugFile
impl Sync for DebugFile
impl Unpin for DebugFile
impl UnwindSafe for DebugFile
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more