Add style, font, and card example packages; extend geometry and color
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8c0685fe01
commit
1e2bcde532
26 files changed
+45666
-30
No files matched your search
@@ -77,7 +77,7 @@ pub(all) enum ColorSpace {
|
||||
pub impl Default for ColorSpace
|
||||
pub impl Show for ColorSpace
|
||||
|
||||
#derive(Compare, Default, Eq, @debug.Debug)
|
||||
#derive(Compare, Default, Eq, Hash, @debug.Debug)
|
||||
pub(all) struct Hsla {
|
||||
h : Double
|
||||
s : Double
|
||||
@@ -93,6 +93,7 @@ pub fn Hsla::is_transparent(Self) -> Bool
|
||||
pub fn Hsla::opacity(Self, Double) -> Self
|
||||
pub fn Hsla::to_background(Self) -> Background
|
||||
pub fn Hsla::to_rgb(Self) -> Rgba
|
||||
pub impl IntoHsla for Hsla
|
||||
pub impl Show for Hsla
|
||||
|
||||
#derive(Default, Eq, @debug.Debug)
|
||||
@@ -117,8 +118,12 @@ pub fn Rgba::to_background(Self) -> Background
|
||||
pub fn Rgba::to_hex(Self) -> String
|
||||
pub fn Rgba::to_hsla(Self) -> Hsla
|
||||
pub fn Rgba::to_u32(Self) -> UInt32
|
||||
pub impl IntoHsla for Rgba
|
||||
pub impl Show for Rgba
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
pub(open) trait IntoHsla {
|
||||
fn into_hsla(Self) -> Hsla
|
||||
}
|
||||
Reference in new issue
Block a user