Struct rusty_santa::Group [] [src]

pub struct Group { /* fields omitted */ }

A group of people that wants to draw names.

Methods

impl Group
[src]

[src]

Create a new Group.

[src]

Add a name to the group.

[src]

Make sure that person A does not have to give person B a gift.

[src]

Make sure that person A and B don't have to give each other gifts.

[src]

Return whether the specified name is alread in the group.

[src]

Run the name assignment!

Trait Implementations

impl Debug for Group
[src]

[src]

Formats the value using the given formatter.

impl Clone for Group
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more