pub struct BasicBag;Trait Implementations§
Source§impl ConstantBag for BasicBag
impl ConstantBag for BasicBag
type Constant = ConstantData
fn make_constant<C>(
&self,
constant: BorrowedConstant<'_, C>,
) -> <BasicBag as ConstantBag>::Constantwhere
C: Constant,
fn make_int(&self, value: BigInt) -> <BasicBag as ConstantBag>::Constant
fn make_tuple( &self, elements: impl Iterator<Item = <BasicBag as ConstantBag>::Constant>, ) -> <BasicBag as ConstantBag>::Constant
fn make_code( &self, code: CodeObject<<BasicBag as ConstantBag>::Constant>, ) -> <BasicBag as ConstantBag>::Constant
fn make_name( &self, name: &str, ) -> <<BasicBag as ConstantBag>::Constant as Constant>::Name
impl Copy for BasicBag
Auto Trait Implementations§
impl Freeze for BasicBag
impl RefUnwindSafe for BasicBag
impl Send for BasicBag
impl Sync for BasicBag
impl Unpin for BasicBag
impl UnwindSafe for BasicBag
Blanket Implementations§
Source§impl<Bag> AsBag for Bagwhere
Bag: ConstantBag,
impl<Bag> AsBag for Bagwhere
Bag: ConstantBag,
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<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