pub struct SelectorCapability {
pub selector: &'static str,
pub representations: &'static [&'static str],
}Expand description
One common selector and the representations it admits for a format.
Fields§
§selector: &'static strCanonical common selector name.
representations: &'static [&'static str]Admissible representation names.
Trait Implementations§
Source§impl Clone for SelectorCapability
impl Clone for SelectorCapability
impl Copy for SelectorCapability
Auto Trait Implementations§
impl Freeze for SelectorCapability
impl RefUnwindSafe for SelectorCapability
impl Send for SelectorCapability
impl Sync for SelectorCapability
impl Unpin for SelectorCapability
impl UnsafeUnpin for SelectorCapability
impl UnwindSafe for SelectorCapability
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