pub struct Descriptor {
pub judgement: u8,
pub class: u8,
pub size: u16,
}Expand description
One descriptor, as much of it as this pass knows.
The pc field of the runtime’s descriptor is not here. Filling it means a relocation against
the enclosing function plus the offset of the call, which the IR cannot express and which
nothing needs while the reporter has the address the check was given, so those eight bytes are
written as zero.
Fields§
§judgement: u8Which judgement the check decides.
class: u8Which row of document 03’s tables the failure is, which nothing decides yet.
size: u16How many bytes the access covers, saturating, and zero where the check is not about an access of a known width.
Trait Implementations§
Source§impl Clone for Descriptor
impl Clone for Descriptor
Source§fn clone(&self) -> Descriptor
fn clone(&self) -> Descriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Descriptor
Source§impl Debug for Descriptor
impl Debug for Descriptor
impl Eq for Descriptor
Source§impl PartialEq for Descriptor
impl PartialEq for Descriptor
impl StructuralPartialEq for Descriptor
Auto Trait Implementations§
impl Freeze for Descriptor
impl RefUnwindSafe for Descriptor
impl Send for Descriptor
impl Sync for Descriptor
impl Unpin for Descriptor
impl UnsafeUnpin for Descriptor
impl UnwindSafe for Descriptor
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