pub struct BranchHintFunction<'a> {
pub func: u32,
pub hints: SectionLimited<'a, BranchHint>,
}
Expand description
Branch hints for a single function.
Produced from BranchHintSectionReader
.
Fields§
§func: u32
The function that these branch hints apply to.
hints: SectionLimited<'a, BranchHint>
The branch hints available for this function.
Trait Implementations§
Source§impl<'a> Clone for BranchHintFunction<'a>
impl<'a> Clone for BranchHintFunction<'a>
Source§fn clone(&self) -> BranchHintFunction<'a>
fn clone(&self) -> BranchHintFunction<'a>
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 moreSource§impl<'a> Debug for BranchHintFunction<'a>
impl<'a> Debug for BranchHintFunction<'a>
Source§impl<'a> FromReader<'a> for BranchHintFunction<'a>
impl<'a> FromReader<'a> for BranchHintFunction<'a>
Source§fn from_reader(reader: &mut BinaryReader<'a>) -> Result<Self>
fn from_reader(reader: &mut BinaryReader<'a>) -> Result<Self>
Attempts to read
Self
from the provided binary reader, returning an
error if it is unable to do so.Auto Trait Implementations§
impl<'a> Freeze for BranchHintFunction<'a>
impl<'a> RefUnwindSafe for BranchHintFunction<'a>
impl<'a> Send for BranchHintFunction<'a>
impl<'a> Sync for BranchHintFunction<'a>
impl<'a> Unpin for BranchHintFunction<'a>
impl<'a> UnwindSafe for BranchHintFunction<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)