Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
[Rust] Orange class, which implements Color trait
cwchen
Sep 4th, 2017
3,673
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Rust
0.11 KB
| None
|
0
0
raw
download
clone
embed
print
report
pub
struct
Orange
{
}
impl
Color
for
Orange
{
fn
color
<
'a>(&self) -> &'
a
str
{
"orange"
}
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Ghost Of Onyx 18
6 min ago | 0.49 KB
Ghost Of Onyx 17
10 min ago | 1.04 KB
Ghost Of Onyx 16
25 min ago | 0.21 KB
Halo Ghost Of Onyx 15
27 min ago | 0.45 KB
Ghost Of Onyx 14
35 min ago | 1.08 KB
Ghost Of Onyx 13
39 min ago | 0.38 KB
December smells like money
CSS | 41 min ago | 0.82 KB
Crypto exchange glitch
CSS | 41 min ago | 0.29 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!