Struct puffin::algebra::dynamic_function::FunctionAttributes
source · pub struct FunctionAttributes {
pub is_opaque: bool,
pub is_list: bool,
pub is_get: bool,
pub no_gen: bool,
pub no_bit: bool,
}
Expand description
Describes the attributes of a DynamicFunction
Fields§
§is_opaque: bool
Whether the function symbol computes “opaque” message such as encryption, signature, MAC, AEAD, Formally: all symbols whose concretization does not contain a single conretization of its arguments
is_list: bool
Whether the function symbol computes a list such as fn_append_certificate
.
is_get: bool
Whether the function symbol computes a strict sub-term (accessed function symbols).
Incidentally, its concretization does not contain all the conretizations of its arguments.
Examples: fn_get_server_key_share
.
no_gen: bool
Whether we usually fail and thus prevent from trying to generate terms with that function symbols at top-level. This will reduce the scope of the GenerateMutator.
no_bit: bool
Symbols we will never MakeMessage on, thus disabling applying any of the bit-level mutations.
Trait Implementations§
source§impl Clone for FunctionAttributes
impl Clone for FunctionAttributes
source§fn clone(&self) -> FunctionAttributes
fn clone(&self) -> FunctionAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FunctionAttributes
impl Debug for FunctionAttributes
source§impl Default for FunctionAttributes
impl Default for FunctionAttributes
source§impl<'de> Deserialize<'de> for FunctionAttributes
impl<'de> Deserialize<'de> for FunctionAttributes
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>,
source§impl Serialize for FunctionAttributes
impl Serialize for FunctionAttributes
impl Copy for FunctionAttributes
Auto Trait Implementations§
impl Freeze for FunctionAttributes
impl RefUnwindSafe for FunctionAttributes
impl Send for FunctionAttributes
impl Sync for FunctionAttributes
impl Unpin for FunctionAttributes
impl UnwindSafe for FunctionAttributes
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
§impl<T> CloneAny for T
impl<T> CloneAny for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.