Struct hdp_preprocessor::constant::NEW_EXAMPLE_CONTRACT
source · pub struct NEW_EXAMPLE_CONTRACT { /* 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 NEW_EXAMPLE_CONTRACT
impl Deref for NEW_EXAMPLE_CONTRACT
§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 NEW_EXAMPLE_CONTRACT
Auto Trait Implementations§
impl Freeze for NEW_EXAMPLE_CONTRACT
impl RefUnwindSafe for NEW_EXAMPLE_CONTRACT
impl Send for NEW_EXAMPLE_CONTRACT
impl Sync for NEW_EXAMPLE_CONTRACT
impl Unpin for NEW_EXAMPLE_CONTRACT
impl UnwindSafe for NEW_EXAMPLE_CONTRACT
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