Trait rui::CommandTuple

source ·
pub trait CommandTuple {
    // Required methods
    fn foreach_cmd<F: FnMut(&dyn CommandBase)>(&self, f: &mut F);
    fn len(&self) -> usize;

    // Provided method
    fn is_empty(&self) -> bool { ... }
}

Required Methods§

source

fn foreach_cmd<F: FnMut(&dyn CommandBase)>(&self, f: &mut F)

source

fn len(&self) -> usize

Provided Methods§

source

fn is_empty(&self) -> bool

Implementations on Foreign Types§

source§

impl<A: CommandBase> CommandTuple for (A,)

source§

fn foreach_cmd<FN: FnMut(&dyn CommandBase)>(&self, f: &mut FN)

source§

fn len(&self) -> usize

source§

impl<A: CommandBase, B: CommandBase, C: CommandBase, D: CommandBase, E: CommandBase, F: CommandBase> CommandTuple for (A, B, C, D, E, F)

source§

fn foreach_cmd<FN: FnMut(&dyn CommandBase)>(&self, f: &mut FN)

source§

fn len(&self) -> usize

source§

impl<A: CommandBase, B: CommandBase, C: CommandBase, D: CommandBase> CommandTuple for (A, B, C, D)

source§

fn foreach_cmd<FN: FnMut(&dyn CommandBase)>(&self, f: &mut FN)

source§

fn len(&self) -> usize

source§

impl<A: CommandBase, B: CommandBase, C: CommandBase, D: CommandBase, E: CommandBase, F: CommandBase, G: CommandBase, H: CommandBase> CommandTuple for (A, B, C, D, E, F, G, H)

source§

fn foreach_cmd<FN: FnMut(&dyn CommandBase)>(&self, f: &mut FN)

source§

fn len(&self) -> usize

source§

impl<A: CommandBase, B: CommandBase, C: CommandBase, D: CommandBase, E: CommandBase, F: CommandBase, G: CommandBase> CommandTuple for (A, B, C, D, E, F, G)

source§

fn foreach_cmd<FN: FnMut(&dyn CommandBase)>(&self, f: &mut FN)

source§

fn len(&self) -> usize

source§

impl<A: CommandBase, B: CommandBase> CommandTuple for (A, B)

source§

fn foreach_cmd<FN: FnMut(&dyn CommandBase)>(&self, f: &mut FN)

source§

fn len(&self) -> usize

source§

impl<A: CommandBase, B: CommandBase, C: CommandBase, D: CommandBase, E: CommandBase> CommandTuple for (A, B, C, D, E)

source§

fn foreach_cmd<FN: FnMut(&dyn CommandBase)>(&self, f: &mut FN)

source§

fn len(&self) -> usize

source§

impl<A: CommandBase, B: CommandBase, C: CommandBase> CommandTuple for (A, B, C)

source§

fn foreach_cmd<FN: FnMut(&dyn CommandBase)>(&self, f: &mut FN)

source§

fn len(&self) -> usize

Implementors§