pub enum BundleUri<'a> {
Literal(&'a str),
Regional {
before: &'a str,
after: &'a str,
},
}Expand description
A bundle URI split around its region token, or carried whole when it has none.
Variants§
Literal(&'a str)
No token: emitted exactly as it is today.
Regional
The text either side of the token, for an emitter to rejoin around its own region expression.
Trait Implementations§
impl<'a> Copy for BundleUri<'a>
impl<'a> Eq for BundleUri<'a>
impl<'a> StructuralPartialEq for BundleUri<'a>
Auto Trait Implementations§
impl<'a> Freeze for BundleUri<'a>
impl<'a> RefUnwindSafe for BundleUri<'a>
impl<'a> Send for BundleUri<'a>
impl<'a> Sync for BundleUri<'a>
impl<'a> Unpin for BundleUri<'a>
impl<'a> UnsafeUnpin for BundleUri<'a>
impl<'a> UnwindSafe for BundleUri<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.