Skip to main content

HostPlace

Struct HostPlace 

Source
pub struct HostPlace<P = u32> {
    pub var: P,
    pub member: Option<(u32, u32)>,
    pub ty: Result<HostType, u32>,
    pub indicator: Option<(P, u32)>,
}
Expand description

A host variable, or one member of a host structure at member’s offset and length. The indicator comes with the offset of this member’s element in it.

Fields§

§var: P§member: Option<(u32, u32)>§ty: Result<HostType, u32>

Never a structure. An item with no SQL type keeps the walker’s EXEC abend.

§indicator: Option<(P, u32)>

Trait Implementations§

Source§

impl<P> Clone for HostPlace<P>
where P: Clone,

Source§

fn clone(&self) -> HostPlace<P>

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> Debug for HostPlace<P>
where P: Debug,

Source§

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

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

impl Decode for HostPlace

Source§

impl Encode for HostPlace

Source§

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

Source§

impl<P> Eq for HostPlace<P>
where P: Eq,

Source§

impl<P> PartialEq for HostPlace<P>
where P: PartialEq,

Source§

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

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

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

Inequality operator !=. Read more
Source§

impl<P> StructuralPartialEq for HostPlace<P>
where P: PartialEq,

Auto Trait Implementations§

§

impl<P> Freeze for HostPlace<P>
where P: Freeze, Option<(P, u32)>: Freeze,

§

impl<P> RefUnwindSafe for HostPlace<P>

§

impl<P> Send for HostPlace<P>
where P: Send, Option<(P, u32)>: Send,

§

impl<P> Sync for HostPlace<P>
where P: Sync, Option<(P, u32)>: Sync,

§

impl<P> Unpin for HostPlace<P>
where P: Unpin, Option<(P, u32)>: Unpin,

§

impl<P> UnsafeUnpin for HostPlace<P>
where P: UnsafeUnpin, Option<(P, u32)>: UnsafeUnpin,

§

impl<P> UnwindSafe for HostPlace<P>
where P: UnwindSafe, Option<(P, u32)>: 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.