pub struct HxLocation(/* private fields */);
Implementations§
Source§impl HxLocation
impl HxLocation
pub fn as_str(&self) -> &str
pub fn into_value(self) -> HeaderValue
pub fn from_str(s: &str) -> Option<Self>
Trait Implementations§
Source§impl Clone for HxLocation
impl Clone for HxLocation
Source§fn clone(&self) -> HxLocation
fn clone(&self) -> HxLocation
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 HxLocation
impl Debug for HxLocation
Source§impl Hash for HxLocation
impl Hash for HxLocation
Source§impl Header for HxLocation
impl Header for HxLocation
Source§impl Ord for HxLocation
impl Ord for HxLocation
Source§fn cmp(&self, other: &HxLocation) -> Ordering
fn cmp(&self, other: &HxLocation) -> Ordering
1.21.0 · 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 HxLocation
impl PartialEq for HxLocation
Source§impl PartialOrd for HxLocation
impl PartialOrd for HxLocation
impl Eq for HxLocation
impl StructuralPartialEq for HxLocation
Auto Trait Implementations§
impl !Freeze for HxLocation
impl RefUnwindSafe for HxLocation
impl Send for HxLocation
impl Sync for HxLocation
impl Unpin for HxLocation
impl UnwindSafe for HxLocation
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