Struct structured::ElementCount
source · pub struct ElementCount {
pub value: Element,
pub count: usize,
}
Fields§
§value: Element
§count: usize
Trait Implementations§
source§impl Clone for ElementCount
impl Clone for ElementCount
source§fn clone(&self) -> ElementCount
fn clone(&self) -> ElementCount
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 Debug for ElementCount
impl Debug for ElementCount
source§impl<'de> Deserialize<'de> for ElementCount
impl<'de> Deserialize<'de> for ElementCount
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ElementCount
impl PartialEq for ElementCount
source§fn eq(&self, other: &ElementCount) -> bool
fn eq(&self, other: &ElementCount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ElementCount
impl Serialize for ElementCount
impl StructuralPartialEq for ElementCount
Auto Trait Implementations§
impl RefUnwindSafe for ElementCount
impl Send for ElementCount
impl Sync for ElementCount
impl Unpin for ElementCount
impl UnwindSafe for ElementCount
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