Enum infinitree::tree::Message
source · [−]pub enum Message {
Empty,
Some(String),
}
Expand description
A commit message. Mostly equivalent to Option
The main reason for a separate wrapper type is being able to use
versatile From<T>
implementations that in return make the
Infinitree
API nicer to use.
Variants
Empty
No commit message.
Some(String)
Use the String
parameter as commit message
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more