[][src]Struct summon::Tome

pub struct Tome { /* fields omitted */ }

This is where all of the transmutation circles are inscribed.

Methods

impl Tome[src]

pub fn new() -> Self[src]

Create an empty tome.

pub fn inscribe<T: Transmutation + 'static>(&mut self, circle: T)[src]

Inscribe a note about a natural transmutation into the tome.

pub fn ether<T: Clone + 'static>(&mut self, item: T)[src]

Create a note about how to create something out of the ether.

pub fn summon<T: 'static>(&self) -> Option<T>[src]

Give me what I want.

Trait Implementations

impl Default for Tome[src]

Auto Trait Implementations

impl !RefUnwindSafe for Tome

impl !Send for Tome

impl !Sync for Tome

impl Unpin for Tome

impl !UnwindSafe for Tome

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.