pub struct CompiledClassEntrypoint {
pub selector: Felt,
pub offset: u64,
pub builtins: Vec<String>,
}
Expand description
An Cairo assembly (CASM) contract entrypoint for translating a selector to a bytecode offset.
Fields§
§selector: Felt
Selector of the entrypoint, usually computed as the Starknet Keccak of the function name.
offset: u64
Offset in the bytecode.
builtins: Vec<String>
The list of Cairo builtins used with this entrypoint.
Trait Implementations§
Source§impl Clone for CompiledClassEntrypoint
impl Clone for CompiledClassEntrypoint
Source§fn clone(&self) -> CompiledClassEntrypoint
fn clone(&self) -> CompiledClassEntrypoint
Returns a duplicate 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 CompiledClassEntrypoint
impl Debug for CompiledClassEntrypoint
Source§impl<'de> Deserialize<'de> for CompiledClassEntrypoint
impl<'de> Deserialize<'de> for CompiledClassEntrypoint
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
Auto Trait Implementations§
impl Freeze for CompiledClassEntrypoint
impl RefUnwindSafe for CompiledClassEntrypoint
impl Send for CompiledClassEntrypoint
impl Sync for CompiledClassEntrypoint
impl Unpin for CompiledClassEntrypoint
impl UnwindSafe for CompiledClassEntrypoint
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