pub struct UrlFlags(/* private fields */);Expand description
Compact boolean attributes of a parsed URL record.
Implementations§
Source§impl UrlFlags
impl UrlFlags
pub const SPECIAL: Self
pub const HAS_CREDENTIALS: Self
pub const HAS_EMPTY_HOST: Self
pub const OPAQUE_PATH: Self
pub const HAS_PASSWORD: Self
pub const HOST_IPV4: Self
pub const HOST_IPV6: Self
pub const HOST_IDNA: Self
pub const fn empty() -> Self
pub const fn contains(self, other: Self) -> bool
pub const fn insert(&mut self, other: Self)
pub const fn remove(&mut self, other: Self)
pub const fn is_special(self) -> bool
pub const fn has_opaque_path(self) -> bool
Trait Implementations§
impl Copy for UrlFlags
impl Eq for UrlFlags
impl StructuralPartialEq for UrlFlags
Auto Trait Implementations§
impl Freeze for UrlFlags
impl RefUnwindSafe for UrlFlags
impl Send for UrlFlags
impl Sync for UrlFlags
impl Unpin for UrlFlags
impl UnsafeUnpin for UrlFlags
impl UnwindSafe for UrlFlags
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