pub struct RegionSpec<Id> {
pub start: Id,
pub end: Option<Id>,
pub handler: TargetLocation<Id>,
}Expand description
A protected-region declaration using half-open instruction identities.
Fields§
§start: IdFirst protected instruction.
end: Option<Id>First instruction after the protected range, or None for code end.
handler: TargetLocation<Id>Handler entry, which must resolve to an instruction boundary.
Trait Implementations§
Source§impl<Id: Clone> Clone for RegionSpec<Id>
impl<Id: Clone> Clone for RegionSpec<Id>
Source§fn clone(&self) -> RegionSpec<Id>
fn clone(&self) -> RegionSpec<Id>
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 moreSource§impl<Id: Debug> Debug for RegionSpec<Id>
impl<Id: Debug> Debug for RegionSpec<Id>
impl<Id: Eq> Eq for RegionSpec<Id>
Source§impl<Id: PartialEq> PartialEq for RegionSpec<Id>
impl<Id: PartialEq> PartialEq for RegionSpec<Id>
impl<Id: PartialEq> StructuralPartialEq for RegionSpec<Id>
Auto Trait Implementations§
impl<Id> Freeze for RegionSpec<Id>where
Id: Freeze,
impl<Id> RefUnwindSafe for RegionSpec<Id>where
Id: RefUnwindSafe,
impl<Id> Send for RegionSpec<Id>where
Id: Send,
impl<Id> Sync for RegionSpec<Id>where
Id: Sync,
impl<Id> Unpin for RegionSpec<Id>where
Id: Unpin,
impl<Id> UnsafeUnpin for RegionSpec<Id>where
Id: UnsafeUnpin,
impl<Id> UnwindSafe for RegionSpec<Id>where
Id: 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