Struct mozjs::jsapi::js::SliceBudget
source · #[repr(C)]pub struct SliceBudget {
pub idle: bool,
pub extended: bool,
pub budget: [u64; 3],
pub interruptRequested: *mut u8,
pub counter: i64,
pub interrupted: bool,
}
Fields§
§idle: bool
§extended: bool
§budget: [u64; 3]
§interruptRequested: *mut u8
§counter: i64
§interrupted: bool
Trait Implementations§
source§impl Debug for SliceBudget
impl Debug for SliceBudget
source§impl PartialEq<SliceBudget> for SliceBudget
impl PartialEq<SliceBudget> for SliceBudget
source§fn eq(&self, other: &SliceBudget) -> bool
fn eq(&self, other: &SliceBudget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SliceBudget
Auto Trait Implementations§
impl RefUnwindSafe for SliceBudget
impl !Send for SliceBudget
impl !Sync for SliceBudget
impl Unpin for SliceBudget
impl UnwindSafe for SliceBudget
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