pub enum SwitchTargets {
Table {
low: i32,
targets: Vec<u32>,
},
Lookup {
pairs: Vec<(i32, u32)>,
},
}Variants§
Trait Implementations§
Source§impl Clone for SwitchTargets
impl Clone for SwitchTargets
Auto Trait Implementations§
impl Freeze for SwitchTargets
impl RefUnwindSafe for SwitchTargets
impl Send for SwitchTargets
impl Sync for SwitchTargets
impl Unpin for SwitchTargets
impl UnsafeUnpin for SwitchTargets
impl UnwindSafe for SwitchTargets
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