Struct publicsuffix::PrivateList
source · [−]pub struct PrivateList(_);
Expand description
A list of only private suffixes
Implementations
sourceimpl PrivateList
impl PrivateList
Trait Implementations
sourceimpl Clone for PrivateList
impl Clone for PrivateList
sourcefn clone(&self) -> PrivateList
fn clone(&self) -> PrivateList
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PrivateList
impl Debug for PrivateList
sourceimpl Default for PrivateList
impl Default for PrivateList
sourcefn default() -> PrivateList
fn default() -> PrivateList
Returns the “default value” for a type. Read more
sourceimpl From<PrivateList> for List
impl From<PrivateList> for List
sourcefn from(PrivateList: PrivateList) -> Self
fn from(PrivateList: PrivateList) -> Self
Performs the conversion.
sourceimpl FromStr for PrivateList
impl FromStr for PrivateList
sourceimpl List for PrivateList
impl List for PrivateList
sourceimpl PartialEq<PrivateList> for PrivateList
impl PartialEq<PrivateList> for PrivateList
sourcefn eq(&self, other: &PrivateList) -> bool
fn eq(&self, other: &PrivateList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PrivateList) -> bool
fn ne(&self, other: &PrivateList) -> bool
This method tests for !=
.
impl Eq for PrivateList
impl StructuralEq for PrivateList
impl StructuralPartialEq for PrivateList
Auto Trait Implementations
impl RefUnwindSafe for PrivateList
impl Send for PrivateList
impl Sync for PrivateList
impl Unpin for PrivateList
impl UnwindSafe for PrivateList
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more