Struct mop_blocks::DefCustomEvent [−][src]
pub struct DefCustomEvent<'a, V: 'a> { /* fields omitted */ }
Methods
impl<'a, V> DefCustomEvent<'a, V>
[src]
impl<'a, V> DefCustomEvent<'a, V>
pub fn var(&self, idx: usize) -> Option<&V>
[src]
pub fn var(&self, idx: usize) -> Option<&V>
pub fn var_iter(
&self
) -> impl Iterator<Item = (usize, &V)>
[src]
pub fn var_iter(
&self
) -> impl Iterator<Item = (usize, &V)>
Trait Implementations
impl<'a, V: Clone + 'a> Clone for DefCustomEvent<'a, V>
[src]
impl<'a, V: Clone + 'a> Clone for DefCustomEvent<'a, V>
fn clone(&self) -> DefCustomEvent<'a, V>
[src]
fn clone(&self) -> DefCustomEvent<'a, V>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a, V: Copy + 'a> Copy for DefCustomEvent<'a, V>
[src]
impl<'a, V: Copy + 'a> Copy for DefCustomEvent<'a, V>
impl<'a, V: Debug + 'a> Debug for DefCustomEvent<'a, V>
[src]
impl<'a, V: Debug + 'a> Debug for DefCustomEvent<'a, V>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, V: Default + 'a> Default for DefCustomEvent<'a, V>
[src]
impl<'a, V: Default + 'a> Default for DefCustomEvent<'a, V>
fn default() -> DefCustomEvent<'a, V>
[src]
fn default() -> DefCustomEvent<'a, V>
Returns the "default value" for a type. Read more
impl<'a, V> CustomEvent<'a, V> for DefCustomEvent<'a, V> where
V: Copy + Default,
[src]
impl<'a, V> CustomEvent<'a, V> for DefCustomEvent<'a, V> where
V: Copy + Default,
Auto Trait Implementations
impl<'a, V> Send for DefCustomEvent<'a, V> where
V: Sync,
impl<'a, V> Send for DefCustomEvent<'a, V> where
V: Sync,
impl<'a, V> Sync for DefCustomEvent<'a, V> where
V: Sync,
impl<'a, V> Sync for DefCustomEvent<'a, V> where
V: Sync,