pub type TypefaceFontProvider = RCHandle<skia_textlayout_TypefaceFontProvider>;
struct TypefaceFontProvider(/* private fields */);
Implementations
Trait Implementations
Performs copy-assignment from
source
.
Read more
Returns the “default value” for a type.
Read more
Wraps a native pointer into a wrapper type.
Returns None
if the pointer is null
.
Unwraps the wrapper type into the native pointer.
Access the wrapped pointer.
Access the wrapped pointer.
RCHandle<H>
is conditionally Send and can be sent to
another thread when its reference count is 1.
Returns true
if the handle can be sent to another thread.
Wrap the handle in a type that can be sent to another thread and unwrapped there.
Read more
Executes the destructor for this type.
Read more
Converts this type into a shared reference of the (usually inferred) input type.
Mutably dereferences the value.
The resulting type after dereferencing.
Dereferences the value.
This method tests for self
and other
values to be equal, and is used
by ==
.
This method tests for !=
. The default implementation is almost always
sufficient, and should not be overridden without very good reason.
Formats the value using the given formatter.
Read more
A reference counted handle is cheap to clone, so we do support a conversion
from a reference to a ref counter to an owned handle.
Converts to this type from the input type.