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§
source§impl<T: Clone> Clone for CommentedChildren<T>
impl<T: Clone> Clone for CommentedChildren<T>
source§fn clone(&self) -> CommentedChildren<T>
fn clone(&self) -> CommentedChildren<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<T: Debug> Debug for CommentedChildren<T>
impl<T: Debug> Debug for CommentedChildren<T>
source§impl<T: Default> Default for CommentedChildren<T>
impl<T: Default> Default for CommentedChildren<T>
source§fn default() -> CommentedChildren<T>
fn default() -> CommentedChildren<T>
Returns the “default value” for a type. Read more
source§impl<T: PartialEq> PartialEq<CommentedChildren<T>> for CommentedChildren<T>
impl<T: PartialEq> PartialEq<CommentedChildren<T>> for CommentedChildren<T>
source§fn 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 ==.