use gc::Trace;
Now that cats approve of Rust's garbage collection, it means that it's really established.
Pictured: Baghera, @imperio 's cat.
##RustCataStructures #rust #RustLang #cat #CatsOfMastodon #Caturday
use gc::Trace;
Now that cats approve of Rust's garbage collection, it means that it's really established.
Pictured: Baghera, @imperio 's cat.
##RustCataStructures #rust #RustLang #cat #CatsOfMastodon #Caturday
while disk.turn() {
cat.turn();
}
Source: A friend's meme collection, but I found a longer version at https://www.youtube.com/watch?v=K7dcSr04G8s
RE: https://infosec.exchange/@catsalad/115311221220589128
impl Into<Box<Lego>> for Cat {
fn into(self) -> Box::new(Lego {})
}
#RustCataStructures #rust #RustLang #cat #CatsOfMastodon #Caturday
for index in -4..12 {
println!("cat: {}", cats[index]);
}
Thanks to @imperio for today's submission!
use fridge::WaterCooler;
let watercooler = WaterCooler::in_kitchen();
let water = watercooler.run();
drink(water);
Original by https://www.reddit.com/r/HydroHomies/comments/11l56ft/do_we_accept_cats_into_our_ranks_not_oc/
#RustCataStructures #rust #RustLang #cat #CatsOfMastodon #Caturday #猫の日
cargo flamegraph
Original image by @cliffle : https://hachyderm.io/@cliffle/113897048408999899
Attached: 1 image Found on the SD card in my thermal camera, from probably 2011. Consider this my belated #caturday contribution.
struct Hat();
struct ChristmasCat (
either::Either::<Hat, Hat>,
);
impl ChristmasCat {
fn hunt(&mut self) {
if !self.0.is_left() && !self.0.is_right() {
unreachable!()
}
}
}
Original by @catsalad : https://infosec.exchange/@catsalad/113793442243881502
Attached: 1 image When there's an elusive bug in your code, but you just can't find it. :neocat_floof_owo:
#[repr(transparent)]
struct PhantomCat<Curtain, Cat> {
curtain: Curtain,
cat: PhantomData<Cat>
}
Original by @isaactly_s : https://mas.to/@isaactly_s/113656471392915829
Attached: 1 image Behold, the master of stealth, #Fariña :catto: #catsofmastodon #allcatsarebeautiful #fedicats
impl Stool for Cat {
pub fn peek(&self) -> View {
Original by @cat : https://tea.codes/@cat/113487015026074956
#RustCataStructures #rust #RustLang #cat #CatsOfMastodon #Caturday
for i in 0..4 {
let kitten_clone[i] = kitten.clone();
}
Original by @cat : https://tea.codes/@cat/113451857713168610
#RustCataStructures #rust #RustLang #cat #CatsOfMastodon #Caturday