pub struct TypeTreeStatistics {
pub total_nodes: usize,
pub root_nodes: usize,
pub max_depth: i32,
pub primitive_count: usize,
pub array_count: usize,
pub string_buffer_size: usize,
}Expand description
TypeTree statistics
Fields§
§total_nodes: usize§root_nodes: usize§max_depth: i32§primitive_count: usize§array_count: usize§string_buffer_size: usizeTrait Implementations§
Source§impl Clone for TypeTreeStatistics
impl Clone for TypeTreeStatistics
Source§fn clone(&self) -> TypeTreeStatistics
fn clone(&self) -> TypeTreeStatistics
Returns a duplicate 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 Debug for TypeTreeStatistics
impl Debug for TypeTreeStatistics
Source§impl<'de> Deserialize<'de> for TypeTreeStatistics
impl<'de> Deserialize<'de> for TypeTreeStatistics
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeTreeStatistics, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeTreeStatistics, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TypeTreeStatistics
impl Serialize for TypeTreeStatistics
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for TypeTreeStatistics
impl RefUnwindSafe for TypeTreeStatistics
impl Send for TypeTreeStatistics
impl Sync for TypeTreeStatistics
impl Unpin for TypeTreeStatistics
impl UnwindSafe for TypeTreeStatistics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more