pub struct FunctionEffects {
pub register: RegisterChannelState,
pub memory: MemoryChannelState,
}Expand description
A function’s full effect summary, one component per side-effect channel:
the register-lifecycle state and the memory write-space verdict. Serialized
as part of FunctionInterface.
Fields§
§register: RegisterChannelStateRegister-channel lifecycle summary (argpromote v2).
memory: MemoryChannelStateMemory-channel effect summary: the coarse written-space verdict plus the precise RAM footprint.
Implementations§
Source§impl FunctionEffects
impl FunctionEffects
Sourcepub fn materialized(&self) -> Option<&RegisterInterfaceMap>
pub fn materialized(&self) -> Option<&RegisterInterfaceMap>
The materialized register interface mapping, if the register channel has
been materialized. Delegates to RegisterChannelState::materialized.
Sourcepub fn is_solved(&self) -> bool
pub fn is_solved(&self) -> bool
Whether the register channel is solved. Delegates to
RegisterChannelState::is_solved.
Trait Implementations§
Source§impl Clone for FunctionEffects
impl Clone for FunctionEffects
Source§fn clone(&self) -> FunctionEffects
fn clone(&self) -> FunctionEffects
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FunctionEffects
impl Debug for FunctionEffects
Source§impl Default for FunctionEffects
impl Default for FunctionEffects
Source§fn default() -> FunctionEffects
fn default() -> FunctionEffects
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FunctionEffects
impl<'de> Deserialize<'de> for FunctionEffects
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FunctionEffects
Source§impl PartialEq for FunctionEffects
impl PartialEq for FunctionEffects
Source§impl Serialize for FunctionEffects
impl Serialize for FunctionEffects
impl StructuralPartialEq for FunctionEffects
Auto Trait Implementations§
impl Freeze for FunctionEffects
impl RefUnwindSafe for FunctionEffects
impl Send for FunctionEffects
impl Sync for FunctionEffects
impl Unpin for FunctionEffects
impl UnsafeUnpin for FunctionEffects
impl UnwindSafe for FunctionEffects
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