Struct gdk4::ContentFormatsBuilder [−][src]
pub struct ContentFormatsBuilder(_);
Expand description
A ContentFormatsBuilder
is an auxiliary struct used to create
new ContentFormats
, and should not be kept around.
Implementations
Create a new ContentFormatsBuilder
object.
The resulting builder would create an empty ContentFormats
.
Use addition functions to add types to it.
Returns
a new ContentFormatsBuilder
Appends all formats from formats
to self
, skipping those that
already exist.
formats
the formats to add
Creates a new ContentFormats
from the given self
.
The given ContentFormatsBuilder
is reset once this function returns;
you cannot call this function multiple times on the same self
instance.
This function is intended primarily for bindings. C code should use
Gdk::
ContentFormatsBuilder::free_to_formats()``.
Returns
the newly created ContentFormats
with all the formats added to self
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for ContentFormatsBuilder
impl !Send for ContentFormatsBuilder
impl !Sync for ContentFormatsBuilder
impl Unpin for ContentFormatsBuilder
impl UnwindSafe for ContentFormatsBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more