rust-flash-snippets
A comprehensive set of Rust snippets for everyone
prefix |
description |
enum |
enum decl |
fn |
fn decl |
fn_async |
async fn decl |
fn_met |
method decl |
fn_test |
test fn decl |
for |
for loop |
fore |
for enum loop |
if |
if |
if?! |
if-let |
ife |
if-else |
impl |
impl constructor/method |
im_deref |
impl Deref trait for type |
im_display |
impl Display trait for type |
im_drop |
impl Drop trait for type |
im_from |
impl From trait for type |
im_has |
impl Hash trait for type |
im_tryfrom |
impl TryFrom/TryInto trait for type |
let |
unmutable var declaration |
let_mut |
mutable var declaration |
loop |
infinite loop |
match |
match expr |
match! |
match result |
match? |
match optional |
mod |
module decl |
mod_test |
module test decl |
stru |
struct decl |
trait |
trait decl |
wh |
while loop |
wh? |
while let loop |
| |