Struct cairo_lang_defs::db::GeneratedFileInfo
source · pub struct GeneratedFileInfo {
pub aux_data: Option<DynGeneratedFileAuxData>,
pub origin: ModuleFileId,
}Expand description
Information about the generation of a virtual file.
Fields§
§aux_data: Option<DynGeneratedFileAuxData>§origin: ModuleFileIdThe 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 StructuralPartialEq for GeneratedFileInfo
Auto Trait Implementations§
impl Freeze for GeneratedFileInfo
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 Q
impl<Q, K> Equivalent<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<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> 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