Struct cairo_lang_defs::db::GeneratedFileInfo
source · pub struct GeneratedFileInfo {
pub aux_data: DynGeneratedFileAuxData,
pub origin: ModuleFileId,
}
Expand description
Information about the generation of a virtual file.
Fields§
§aux_data: DynGeneratedFileAuxData
§origin: ModuleFileId
The module and file index from which the current file was generated.
Trait Implementations§
source§impl Clone for GeneratedFileInfo
impl Clone for GeneratedFileInfo
source§fn clone(&self) -> GeneratedFileInfo
fn clone(&self) -> GeneratedFileInfo
Returns a copy 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 moresource§impl Debug for GeneratedFileInfo
impl Debug for GeneratedFileInfo
source§impl PartialEq for GeneratedFileInfo
impl PartialEq for GeneratedFileInfo
source§fn eq(&self, other: &GeneratedFileInfo) -> bool
fn eq(&self, other: &GeneratedFileInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GeneratedFileInfo
impl StructuralEq for GeneratedFileInfo
impl StructuralPartialEq for GeneratedFileInfo
Auto Trait Implementations§
impl !RefUnwindSafe for GeneratedFileInfo
impl Send for GeneratedFileInfo
impl Sync for GeneratedFileInfo
impl Unpin for GeneratedFileInfo
impl !UnwindSafe for GeneratedFileInfo
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.