Enum mozjs_sys::jsapi::JSJitInfo_AliasSet
source · #[repr(u32)]pub enum JSJitInfo_AliasSet {
AliasNone = 0,
AliasDOMSets = 1,
AliasEverything = 2,
AliasSetCount = 3,
}
Expand description
An enum that describes what this getter/setter/method aliases. This determines what things can be hoisted past this call, and if this call is movable what it can be hoisted past.
Variants§
AliasNone = 0
Alias nothing: a constant value, getting it can’t affect any other values, nothing can affect it.
AliasDOMSets = 1
Alias things that can modify the DOM but nothing else. Doing the call can’t affect the behavior of any other function.
AliasEverything = 2
Alias the world. Calling this can change arbitrary values anywhere in the system. Most things fall in this bucket.
AliasSetCount = 3
Must be last.
Trait Implementations§
source§impl Clone for JSJitInfo_AliasSet
impl Clone for JSJitInfo_AliasSet
source§fn clone(&self) -> JSJitInfo_AliasSet
fn clone(&self) -> JSJitInfo_AliasSet
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 Debug for JSJitInfo_AliasSet
impl Debug for JSJitInfo_AliasSet
source§impl Hash for JSJitInfo_AliasSet
impl Hash for JSJitInfo_AliasSet
source§impl PartialEq for JSJitInfo_AliasSet
impl PartialEq for JSJitInfo_AliasSet
impl Copy for JSJitInfo_AliasSet
impl Eq for JSJitInfo_AliasSet
impl StructuralPartialEq for JSJitInfo_AliasSet
Auto Trait Implementations§
impl Freeze for JSJitInfo_AliasSet
impl RefUnwindSafe for JSJitInfo_AliasSet
impl Send for JSJitInfo_AliasSet
impl Sync for JSJitInfo_AliasSet
impl Unpin for JSJitInfo_AliasSet
impl UnwindSafe for JSJitInfo_AliasSet
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
)source§impl<T> Filterable for T
impl<T> Filterable for T
source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more