Struct puffin::algebra::dynamic_function::FunctionAttributes
source · pub struct FunctionAttributes {
pub is_opaque: bool,
pub is_list: bool,
pub is_get: 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
.
Trait Implementations§
source§impl Clone for FunctionAttributes
impl Clone for FunctionAttributes
source§fn clone(&self) -> FunctionAttributes
fn clone(&self) -> FunctionAttributes
Returns a copy of the value. Read more
1.0.0 · 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 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>,
Deserialize this value from the given Serde deserializer. Read more
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
Mutably borrows from an owned value. Read more
§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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.