Trait GroupAction

Source
pub trait GroupAction {
    type Domain;

    // Required method
    fn act_on(&self, element: &Self::Domain) -> Self::Domain;
}
Expand description

A group can act on a set. (See Group Action).

Required Associated Types§

Source

type Domain

The set the group acts on.

Required Methods§

Source

fn act_on(&self, element: &Self::Domain) -> Self::Domain

The action that the group has on the domain.

Implementors§