Struct ndk::hardware_buffer::HardwareBufferRef[][src]

pub struct HardwareBufferRef { /* fields omitted */ }
Expand description

A HardwareBuffer with an owned reference, the reference is released when dropped. It behaves much like a strong Rc reference.

Methods from Deref<Target = HardwareBuffer>

Safety

By calling this function, you assert that env is a valid pointer to a JNIEnv.

Returns a fence file descriptor that will become signalled when unlocking is completed, or None if unlocking is already finished.

Trait Implementations

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Executes the destructor for this type. 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

Look up the concrete type from the JVM.

Performs the conversion.

Performs the conversion.

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.