Struct vk_parse::CommentedChildren
source · [−]#[non_exhaustive]pub struct CommentedChildren<T> {
pub comment: Option<String>,
pub children: Vec<T>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.comment: Option<String>children: Vec<T>Trait Implementations
sourceimpl<T: Clone> Clone for CommentedChildren<T>
impl<T: Clone> Clone for CommentedChildren<T>
sourcefn clone(&self) -> CommentedChildren<T>
fn clone(&self) -> CommentedChildren<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<T: Debug> Debug for CommentedChildren<T>
impl<T: Debug> Debug for CommentedChildren<T>
sourceimpl<T: Default> Default for CommentedChildren<T>
impl<T: Default> Default for CommentedChildren<T>
sourcefn default() -> CommentedChildren<T>
fn default() -> CommentedChildren<T>
Returns the “default value” for a type. Read more
sourceimpl<T: PartialEq> PartialEq<CommentedChildren<T>> for CommentedChildren<T>
impl<T: PartialEq> PartialEq<CommentedChildren<T>> for CommentedChildren<T>
sourcefn eq(&self, other: &CommentedChildren<T>) -> bool
fn eq(&self, other: &CommentedChildren<T>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl<T: Eq> Eq for CommentedChildren<T>
impl<T> StructuralEq for CommentedChildren<T>
impl<T> StructuralPartialEq for CommentedChildren<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for CommentedChildren<T>where
T: RefUnwindSafe,
impl<T> Send for CommentedChildren<T>where
T: Send,
impl<T> Sync for CommentedChildren<T>where
T: Sync,
impl<T> Unpin for CommentedChildren<T>where
T: Unpin,
impl<T> UnwindSafe for CommentedChildren<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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