pub struct TargetPriv {
pub user: bool,
pub kernel: bool,
pub hv: bool,
}
Expand description
Branch target privilege levels.
Fields§
§user: bool
Branch target is in user space.
kernel: bool
Branch target is in kernel space.
hv: bool
Branch target is in hypervisor.
Trait Implementations§
Source§impl Clone for TargetPriv
impl Clone for TargetPriv
Source§fn clone(&self) -> TargetPriv
fn clone(&self) -> TargetPriv
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for TargetPriv
impl RefUnwindSafe for TargetPriv
impl Send for TargetPriv
impl Sync for TargetPriv
impl Unpin for TargetPriv
impl UnwindSafe for TargetPriv
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