Struct out_reference::Out

source ·
#[repr(transparent)]
pub struct Out<'a, T: ?Sized>(_, _);
Expand description

An Out Reference, you can only write to this reference using the set method and reborrow this reference with the borrow method

Implementations

Convert an Out reference into a LinearOut reference

Create Out from raw ptr

Note: will panic if the raw pointer is null

Create Out from raw ptr

Note: the raw pointer must not be null

Reborrows the Out reference

Convert this Out reference into a raw pointer

Set the value behind the Out reference without dropping the old value

Trait Implementations

Formats the value using the given formatter. Read more
Converts to this type from the input type.

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

Returns the argument unchanged.

Calls U::from(self).

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

creates an Out ref
creates an LinearOut ref
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.