[−][src]Struct casper_types::contracts::EntryPoints
Collection of named entry points
Implementations
impl EntryPoints[src]
pub fn new() -> EntryPoints[src]
Creates empty instance of EntryPoints.
pub fn add_entry_point(&mut self, entry_point: EntryPoint)[src]
Adds new EntryPoint.
pub fn has_entry_point(&self, entry_point_name: &str) -> bool[src]
Checks if given EntryPoint exists.
pub fn get(&self, entry_point_name: &str) -> Option<&EntryPoint>[src]
Gets an existing EntryPoint by its name.
pub fn keys(&self) -> impl Iterator<Item = &String>[src]
Returns iterator for existing entry point names.
pub fn take_entry_points(self) -> Vec<EntryPoint>[src]
Takes all entry points.
Trait Implementations
impl Clone for EntryPoints[src]
pub fn clone(&self) -> EntryPoints[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for EntryPoints[src]
impl Default for EntryPoints[src]
impl Eq for EntryPoints[src]
impl From<Vec<EntryPoint, Global>> for EntryPoints[src]
pub fn from(entry_points: Vec<EntryPoint>) -> EntryPoints[src]
impl FromBytes for EntryPoints[src]
pub fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error>[src]
pub fn from_vec(bytes: Vec<u8>) -> Result<(Self, Vec<u8>), Error>[src]
impl PartialEq<EntryPoints> for EntryPoints[src]
pub fn eq(&self, other: &EntryPoints) -> bool[src]
pub fn ne(&self, other: &EntryPoints) -> bool[src]
impl StructuralEq for EntryPoints[src]
impl StructuralPartialEq for EntryPoints[src]
impl ToBytes for EntryPoints[src]
Auto Trait Implementations
impl RefUnwindSafe for EntryPoints[src]
impl Send for EntryPoints[src]
impl Sync for EntryPoints[src]
impl Unpin for EntryPoints[src]
impl UnwindSafe for EntryPoints[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,