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

#RustCataStructures #rust #RustLang #cat #CatsOfMastodon

for index in -4..12 {
println!("cat: {}", cats[index]);
}

Thanks to @imperio for today's submission!

#RustCataStructures #Rust #RustLang #cat #CatsOfMastodon

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 #猫の日

cliffle (@[email protected])

Attached: 1 image Found on the SD card in my thermal camera, from probably 2011. Consider this my belated #caturday contribution.

Hachyderm.io
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

#RustCataStructures #rust #RustLang #cat #CatsOfMastodon

CatSalad🐈🥗 (D.Burch) :blobcatrainbow: (@[email protected])

Attached: 1 image When there's an elusive bug in your code, but you just can't find it. :neocat_floof_owo:

Infosec Exchange
#[repr(transparent)]
struct PhantomCat<Curtain, Cat> {
curtain: Curtain,
cat: PhantomData<Cat>
}

Original by @isaactly_s : https://mas.to/@isaactly_s/113656471392915829

#RustCataStructures #rust #RustLang #cat #CatsOfMastodon

IƧΛΛC (@[email protected])

Attached: 1 image Behold, the master of stealth, #Fariña :catto: #catsofmastodon #allcatsarebeautiful #fedicats

mas.to
Catodon (@[email protected])

附加媒体:1 张图片

茶码
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

Catodon (@[email protected])

附加媒体:1 张图片

茶码