Example

Published: 22 November 2022

Last Edited: (optional) Date this post was last edited

Shows properties which should be in the frontmatter

Getting Started

TSX
console.log('ur mom');
type sus = {};
const amogus = 123;
// comment
const func = (param: string) => {};
function func2(param: number) {}
const Component = () => {
	return <div></div>;
};
src/main.rs
RUST
fn main() {
	let variable: i32 = 1;

	struct MyStruct<'a, T> {
		property: &'a str
		generic: T
	}

	impl<'a, T: Clone> MyStruct<'a, T> {
		pub fn clone(&self) -> Self {
			self.clone()
		}
	}
}
src/main.rs
RUST
fn main() {
	let sus = "baka";
}
Cargo.toml
TOML
[package]
name = "api"
version = "0.1.0"
edition = "2021"
publish = false

[lib]

[dependencies]
shuttle-service = { version = "0.7.2", features = ["web-axum"] }
axum = "0.5.17"
sync_wrapper = "0.1.1"

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together? This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?

This is some text for my paragraph. Yes I love Rust language it is really cool, but I also like TypeScript, so how can i use them together?