Struct kdb_c_api::k0[][src]

#[repr(C)]
pub struct k0 { pub m: c_schar, pub a: c_schar, pub qtype: c_schar, pub attribute: C, pub refcount: I, pub value: k0_inner, }
Expand description

Underlying struct of K object.

Fields

m: c_schar

For internal usage.

a: c_schar

For internal usage.

qtype: c_schar

Type indicator.

attribute: C

Attribute of list.

refcount: I

Reference count of the object.

value: k0_inner

Underlying value.

Implementations

Derefer k0 as a mutable slice. For supported types, see as_mut_slice.

Note

Used if K needs to be sent to another thread. K cannot implement Send and therefore its inner struct must be sent instead.

Example

See the example of setm.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.