#[repr(C)]pub struct Completion {
pub value: Value,
}Expand description
The out-parameter written by a native entry. size = 8, align = 8.
Fields§
§value: ValueThe completion value; its meaning is set by the returned CompletionTag.
Implementations§
Source§impl Completion
impl Completion
Sourcepub const fn new(value: Value) -> Completion
pub const fn new(value: Value) -> Completion
Builds a completion carrying value.
Trait Implementations§
Source§impl Clone for Completion
impl Clone for Completion
Source§fn clone(&self) -> Completion
fn clone(&self) -> Completion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Completion
Source§impl Debug for Completion
impl Debug for Completion
impl Eq for Completion
Source§impl PartialEq for Completion
impl PartialEq for Completion
impl StructuralPartialEq for Completion
Auto Trait Implementations§
impl Freeze for Completion
impl RefUnwindSafe for Completion
impl Send for Completion
impl Sync for Completion
impl Unpin for Completion
impl UnsafeUnpin for Completion
impl UnwindSafe for Completion
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