Struct hdp_core::constant::TEST_CONTRACT_CASM
source · pub struct TEST_CONTRACT_CASM { /* private fields */ }Methods from Deref<Target = CasmContractClass>§
sourcepub fn compiled_class_hash(&self) -> Felt252
pub fn compiled_class_hash(&self) -> Felt252
Returns the hash value for the compiled contract class.
sourcepub fn get_bytecode_segment_lengths(&self) -> NestedIntList
pub fn get_bytecode_segment_lengths(&self) -> NestedIntList
Returns the lengths of the bytecode segments.
If the length field is missing, the entire bytecode is considered a single segment.
Trait Implementations§
source§impl Deref for TEST_CONTRACT_CASM
impl Deref for TEST_CONTRACT_CASM
§type Target = CasmContractClass
type Target = CasmContractClass
The resulting type after dereferencing.
source§fn deref(&self) -> &CasmContractClass
fn deref(&self) -> &CasmContractClass
Dereferences the value.
impl LazyStatic for TEST_CONTRACT_CASM
Auto Trait Implementations§
impl Freeze for TEST_CONTRACT_CASM
impl RefUnwindSafe for TEST_CONTRACT_CASM
impl Send for TEST_CONTRACT_CASM
impl Sync for TEST_CONTRACT_CASM
impl Unpin for TEST_CONTRACT_CASM
impl UnwindSafe for TEST_CONTRACT_CASM
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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