pub struct NameTest {
pub prefix: Option<String>,
pub local_name: Option<String>,
}Expand description
Name test with optional wildcards.
Fields§
§prefix: Option<String>Namespace prefix (None = wildcard *:local, Some(“”) = no prefix).
local_name: Option<String>Local name (None = wildcard prefix:* or *).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NameTest
impl RefUnwindSafe for NameTest
impl Send for NameTest
impl Sync for NameTest
impl Unpin for NameTest
impl UnsafeUnpin for NameTest
impl UnwindSafe for NameTest
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