pub struct InterwikiSet(/* private fields */);
Expand description
A case-insensitive set for interwikis.
Implementations§
Source§impl InterwikiSet
impl InterwikiSet
Sourcepub fn all_and_local_from_iter<I: IntoIterator<Item = Interwiki>>(
iter: I,
) -> (Self, Self)
pub fn all_and_local_from_iter<I: IntoIterator<Item = Interwiki>>( iter: I, ) -> (Self, Self)
Given an iterator of Interwiki
s, returns an InterwikiSet
of all interwikis, and an InterwikiSet
of local interwikis
(where local_interwiki == true
).
Trait Implementations§
Source§impl Clone for InterwikiSet
impl Clone for InterwikiSet
Source§fn clone(&self) -> InterwikiSet
fn clone(&self) -> InterwikiSet
Returns a copy 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 InterwikiSet
impl Debug for InterwikiSet
Source§impl FromIterator<String> for InterwikiSet
This implementation makes it possible to construct an InterwikiSet
even though its item type NamespaceMap
is private.
impl FromIterator<String> for InterwikiSet
This implementation makes it possible to construct an InterwikiSet
even though its item type NamespaceMap
is private.
Source§impl PartialEq for InterwikiSet
impl PartialEq for InterwikiSet
impl Eq for InterwikiSet
impl StructuralPartialEq for InterwikiSet
Auto Trait Implementations§
impl Freeze for InterwikiSet
impl RefUnwindSafe for InterwikiSet
impl Send for InterwikiSet
impl Sync for InterwikiSet
impl Unpin for InterwikiSet
impl UnwindSafe for InterwikiSet
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