pub struct FixedPolicy(pub u32);Expand description
Convenient policy that always returns the same tag (testing).
Tuple Fields§
§0: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for FixedPolicy
impl RefUnwindSafe for FixedPolicy
impl Send for FixedPolicy
impl Sync for FixedPolicy
impl Unpin for FixedPolicy
impl UnsafeUnpin for FixedPolicy
impl UnwindSafe for FixedPolicy
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