[−][src]Struct libgitmail::tree::PatchTree
A tree of patches that can be filtered to yield a PatchSet
Fields
this: Mail<'mail>
The current patch
children: Vec<PatchTree<'mail>>
All replies to this patch mail
selected: bool
Mark an email as selected
Methods
impl<'mail> PatchTree<'mail>
[src]
pub fn new(initial: Patch<'mail>) -> Self
[src]
pub fn select(&mut self)
[src]
Select a specific mail into the tree
pub fn deselect(&mut self)
[src]
Deselect a single mail from the tree
Auto Trait Implementations
impl<'mail> RefUnwindSafe for PatchTree<'mail>
impl<'mail> Send for PatchTree<'mail>
impl<'mail> Sync for PatchTree<'mail>
impl<'mail> Unpin for PatchTree<'mail>
impl<'mail> UnwindSafe for PatchTree<'mail>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,