Struct cairo_lang_parser::db::ParserDatabase
source · pub struct ParserDatabase {}
Expand description
Representative struct for the query group.
Trait Implementations§
source§impl HasQueryGroup<ParserDatabase> for SimpleParserDatabase
impl HasQueryGroup<ParserDatabase> for SimpleParserDatabase
source§fn group_storage(&self) -> &<ParserDatabase as QueryGroup>::GroupStorage
fn group_storage(&self) -> &<ParserDatabase as QueryGroup>::GroupStorage
Access the group storage struct from the database.
source§impl QueryGroup for ParserDatabase
impl QueryGroup for ParserDatabase
§type DynDb = dyn ParserGroup
type DynDb = dyn ParserGroup
Dyn version of the associated database trait.
type GroupStorage = ParserGroupGroupStorage__
Auto Trait Implementations§
impl Freeze for ParserDatabase
impl RefUnwindSafe for ParserDatabase
impl Send for ParserDatabase
impl Sync for ParserDatabase
impl Unpin for ParserDatabase
impl UnwindSafe for ParserDatabase
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> 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