Enum gtk4::License [−][src]
#[non_exhaustive]
pub enum License {
Show 18 variants
Unknown,
Custom,
Gpl20,
Gpl30,
Lgpl21,
Lgpl30,
Bsd,
MitX11,
Artistic,
Gpl20Only,
Gpl30Only,
Lgpl21Only,
Lgpl30Only,
Agpl30,
Agpl30Only,
Bsd3,
Apache20,
Mpl20,
// some variants omitted
}
Expand description
The type of license for an application.
This enumeration can be expanded at later date.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
No license specified
A license text is going to be specified by the developer
The GNU General Public License, version 2.0 or later
The GNU General Public License, version 3.0 or later
The GNU Lesser General Public License, version 2.1 or later
The GNU Lesser General Public License, version 3.0 or later
The BSD standard license
The MIT/X11 standard license
The Artistic License, version 2.0
The GNU General Public License, version 2.0 only
The GNU General Public License, version 3.0 only
The GNU Lesser General Public License, version 2.1 only
The GNU Lesser General Public License, version 3.0 only
The GNU Affero General Public License, version 3.0 or later
The GNU Affero General Public License, version 3.0 only
The 3-clause BSD licence
The Apache License, version 2.0
The Mozilla Public License, version 2.0
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
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 License
impl UnwindSafe for License
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.