Skip to main content

CallTarget

Enum CallTarget 

Source
pub enum CallTarget<P = u32, O = Operand> {
    Named {
        name: u32,
        le: Option<LeService>,
    },
    Dynamic(O),
    Pointer(P),
    Entry(P),
}

Variants§

§

Named

A literal: the program is found when the CALL runs, and le runs when none has the name.

Fields

§name: u32
§

Dynamic(O)

An identifier, its value decoded, trimmed and upper-cased when the CALL runs.

§

Pointer(P)

A FUNCTION-POINTER or PROCEDURE-POINTER, which holds a JNI service. Its arguments are all Value or Omitted: the service takes each operand’s value as it reads, OMITTED as NULL.

§

Entry(P)

Any other FUNCTION-POINTER or PROCEDURE-POINTER: the program of the entry SET TO ENTRY gave it, called by its name and as it was loaded; a value naming no entry is Pointer’s service.

Trait Implementations§

Source§

impl<P, O> Clone for CallTarget<P, O>
where P: Clone, O: Clone,

Source§

fn clone(&self) -> CallTarget<P, O>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<P, O> Copy for CallTarget<P, O>
where P: Copy, O: Copy,

Source§

impl<P, O> Debug for CallTarget<P, O>
where P: Debug, O: Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Decode for CallTarget

Source§

impl Encode for CallTarget

Source§

fn encode(&self, w: &mut Writer)

Source§

impl<P, O> Eq for CallTarget<P, O>
where P: Eq, O: Eq,

Source§

impl<P, O> PartialEq for CallTarget<P, O>
where P: PartialEq, O: PartialEq,

Source§

fn eq(&self, other: &CallTarget<P, O>) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl<P, O> StructuralPartialEq for CallTarget<P, O>
where P: PartialEq, O: PartialEq,

Auto Trait Implementations§

§

impl<P, O> Freeze for CallTarget<P, O>
where O: Freeze, P: Freeze,

§

impl<P, O> RefUnwindSafe for CallTarget<P, O>

§

impl<P, O> Send for CallTarget<P, O>
where O: Send, P: Send,

§

impl<P, O> Sync for CallTarget<P, O>
where O: Sync, P: Sync,

§

impl<P, O> Unpin for CallTarget<P, O>
where O: Unpin, P: Unpin,

§

impl<P, O> UnsafeUnpin for CallTarget<P, O>
where O: UnsafeUnpin, P: UnsafeUnpin,

§

impl<P, O> UnwindSafe for CallTarget<P, O>
where O: UnwindSafe, P: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.