pub struct Foundation(/* private fields */);Expand description
A candidate foundation: 1*32ice-char (RFC 8839 §5.1).
The value is opaque on the wire — RFC 8445 §5.1.1.3 gives it meaning only by equality, two
candidates sharing a foundation being unfrozen together. It is a type rather than a String
so the length and character-set bound cannot be lost between parsing and re-emitting.
Implementations§
Trait Implementations§
Source§impl Clone for Foundation
impl Clone for Foundation
Source§fn clone(&self) -> Foundation
fn clone(&self) -> Foundation
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 Debug for Foundation
impl Debug for Foundation
Source§impl Display for Foundation
impl Display for Foundation
Source§impl Hash for Foundation
impl Hash for Foundation
Source§impl Ord for Foundation
impl Ord for Foundation
Source§fn cmp(&self, other: &Foundation) -> Ordering
fn cmp(&self, other: &Foundation) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Foundation
impl PartialEq for Foundation
Source§fn eq(&self, other: &Foundation) -> bool
fn eq(&self, other: &Foundation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Foundation
impl PartialOrd for Foundation
impl Eq for Foundation
impl StructuralPartialEq for Foundation
Auto Trait Implementations§
impl Freeze for Foundation
impl RefUnwindSafe for Foundation
impl Send for Foundation
impl Sync for Foundation
impl Unpin for Foundation
impl UnsafeUnpin for Foundation
impl UnwindSafe for Foundation
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