pub struct GlobalStateInner {
pub reference_arena: DropBump,
pub allocator: Allocator,
pub global_args: Vec<Value>,
pub functions: BTreeMap<Id, Function>,
pub typemap: TypeMap,
pub sizemap: SizeMap,
pub modes: InstructionModes,
pub target_properties: TargetProperties,
pub device_properties: Option<Rc<DeviceProperties>>,
}Fields§
§reference_arena: DropBump§allocator: Allocator§global_args: Vec<Value>§functions: BTreeMap<Id, Function>§typemap: TypeMap§sizemap: SizeMap§modes: InstructionModes§target_properties: TargetProperties§device_properties: Option<Rc<DeviceProperties>>Implementations§
Source§impl GlobalStateInner
impl GlobalStateInner
pub fn clone_deep(&self) -> Self
Trait Implementations§
Source§impl Debug for GlobalStateInner
impl Debug for GlobalStateInner
Source§impl Default for GlobalStateInner
impl Default for GlobalStateInner
Source§fn default() -> GlobalStateInner
fn default() -> GlobalStateInner
Returns the “default value” for a type. Read more
impl Eq for GlobalStateInner
Source§impl PartialEq for GlobalStateInner
impl PartialEq for GlobalStateInner
Auto Trait Implementations§
impl !Freeze for GlobalStateInner
impl !RefUnwindSafe for GlobalStateInner
impl !Send for GlobalStateInner
impl !Sync for GlobalStateInner
impl !UnwindSafe for GlobalStateInner
impl Unpin for GlobalStateInner
impl UnsafeUnpin for GlobalStateInner
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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