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 ==
.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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more