pub enum CountNode {
Fixed(FixedCountNode),
Prefixed(PrefixedCountNode),
Remainder(RemainderCountNode),
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CountNode
impl<'de> Deserialize<'de> for CountNode
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 From<FixedCountNode> for CountNode
impl From<FixedCountNode> for CountNode
Source§fn from(value: FixedCountNode) -> Self
fn from(value: FixedCountNode) -> Self
Converts to this type from the input type.
Source§impl From<PrefixedCountNode> for CountNode
impl From<PrefixedCountNode> for CountNode
Source§fn from(value: PrefixedCountNode) -> Self
fn from(value: PrefixedCountNode) -> Self
Converts to this type from the input type.
Source§impl From<RemainderCountNode> for CountNode
impl From<RemainderCountNode> for CountNode
Source§fn from(value: RemainderCountNode) -> Self
fn from(value: RemainderCountNode) -> Self
Converts to this type from the input type.
impl NodeUnionTrait for CountNode
impl StructuralPartialEq for CountNode
Auto Trait Implementations§
impl Freeze for CountNode
impl RefUnwindSafe for CountNode
impl Send for CountNode
impl Sync for CountNode
impl Unpin for CountNode
impl UnwindSafe for CountNode
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