[][src]Trait fluid::core::prelude::Take

pub trait Take: Sized {
    fn take(&mut self) -> Self;
}

Trait to extends the defaultable types. See its method documentation.

Required methods

fn take(&mut self) -> Self

Replace self with its default value and returns the old one.

Loading content...

Implementors

impl<T> Take for T where
    T: Default + Sized
[src]

Loading content...