Enum gtk::License [−][src]
#[non_exhaustive] pub enum License {}Show 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. Since 3.12.
The GNU General Public License, version 3.0 only. Since 3.12.
The GNU Lesser General Public License, version 2.1 only. Since 3.12.
The GNU Lesser General Public License, version 3.0 only. Since 3.12.
The GNU Affero General Public License, version 3.0 or later. Since: 3.22.
The GNU Affero General Public License, version 3.0 only. Since: 3.22.27.
The 3-clause BSD licence. Since: 3.24.20.
The Apache License, version 2.0. Since: 3.24.20.
The Mozilla Public License, version 2.0. Since: 3.24.20.
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
.