pub struct IcalInteger<'a>(pub Cow<'a, str>);Expand description
A decoded integer value (signed), kept as its raw text.
Tuple Fields§
§0: Cow<'a, str>Implementations§
Trait Implementations§
Source§impl<'a> Clone for IcalInteger<'a>
impl<'a> Clone for IcalInteger<'a>
Source§fn clone(&self) -> IcalInteger<'a>
fn clone(&self) -> IcalInteger<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'v> Codec<'v> for IcalInteger<'v>
Available on crate feature parser only.
impl<'v> Codec<'v> for IcalInteger<'v>
Available on crate feature
parser only.Source§fn decode(node: &'v IcalValueNode<'_>) -> Self
fn decode(node: &'v IcalValueNode<'_>) -> Self
Decode the value from a syntax node.
Source§fn encode(&self, escaper: Escaper) -> IcalValueNode<'static>
fn encode(&self, escaper: Escaper) -> IcalValueNode<'static>
Encode the value into a syntax node for the given escaping mode.
Source§impl<'a> Debug for IcalInteger<'a>
impl<'a> Debug for IcalInteger<'a>
Source§impl<'a> Default for IcalInteger<'a>
impl<'a> Default for IcalInteger<'a>
Source§fn default() -> IcalInteger<'a>
fn default() -> IcalInteger<'a>
Returns the “default value” for a type. Read more
impl<'a> Eq for IcalInteger<'a>
Source§impl<'a> From<&'a str> for IcalInteger<'a>
impl<'a> From<&'a str> for IcalInteger<'a>
Source§impl From<String> for IcalInteger<'_>
impl From<String> for IcalInteger<'_>
Source§impl<'a> PartialEq for IcalInteger<'a>
impl<'a> PartialEq for IcalInteger<'a>
impl<'a> StructuralPartialEq for IcalInteger<'a>
Auto Trait Implementations§
impl<'a> Freeze for IcalInteger<'a>
impl<'a> RefUnwindSafe for IcalInteger<'a>
impl<'a> Send for IcalInteger<'a>
impl<'a> Sync for IcalInteger<'a>
impl<'a> Unpin for IcalInteger<'a>
impl<'a> UnsafeUnpin for IcalInteger<'a>
impl<'a> UnwindSafe for IcalInteger<'a>
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