#[non_exhaustive]pub struct RewriteClass {
pub name: String,
pub entries: Vec<RewriteEntry>,
}Expand description
A forwarding-class <name> entry of a rewrite rule.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§entries: Vec<RewriteEntry>Trait Implementations§
Source§impl Clone for RewriteClass
impl Clone for RewriteClass
Source§impl Debug for RewriteClass
impl Debug for RewriteClass
impl Eq for RewriteClass
Source§impl PartialEq for RewriteClass
impl PartialEq for RewriteClass
impl StructuralPartialEq for RewriteClass
Auto Trait Implementations§
impl Forget for RewriteClass
impl Freeze for RewriteClass
impl Move for RewriteClass
impl RefUnwindSafe for RewriteClass
impl Send for RewriteClasswhere
RawVecInner: Send,
impl Sync for RewriteClasswhere
RawVecInner: Sync,
impl Unpin for RewriteClass
impl UnsafeUnpin for RewriteClasswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<RewriteEntry>: UnsafeUnpin,
impl UnwindSafe for RewriteClasswhere
RawVecInner: UnwindSafe,
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