Acme-Color-Rust
view release on metacpan or search on metacpan
VERSION
version 0.05
SYNOPSIS
use Acme::Color::Rust;
my $color = Acme::Color::Rust->new("red", 0xff, 0x00, 0x00);
say "the color is ", $color->name;
say "with red ", $color->red, " green ", $color->green, " and blue ", $color->blue;
DESCRIPTION
This class is a very simple RGB color class. It is implemented using
Rust. It is mostly intended as a test for extending perl using Rust
concept.
CONSTRUCTOR
new
lib/Acme/Color/Rust.pm view on Meta::CPAN
=head1 VERSION
version 0.05
=head1 SYNOPSIS
use Acme::Color::Rust;
my $color = Acme::Color::Rust->new("red", 0xff, 0x00, 0x00);
say "the color is ", $color->name;
say "with red ", $color->red, " green ", $color->green, " and blue ", $color->blue;
=head1 DESCRIPTION
This class is a very simple RGB color class. It is implemented using Rust. It is
mostly intended as a test for extending perl using Rust concept.
=head1 CONSTRUCTOR
=head2 new
( run in 0.651 second using v1.01-cache-2.11-cpan-b85c58fdc1d )