An open API service indexing awesome lists of open source software.

https://github.com/younghakim7/my_rust_project

My Youtube Channel - GlobalYoung https://www.youtube.com/@GlobalYoung7
https://github.com/younghakim7/my_rust_project

rust vim

Last synced: 3 months ago
JSON representation

My Youtube Channel - GlobalYoung https://www.youtube.com/@GlobalYoung7

Awesome Lists containing this project

README

        

# RustMagazine

https://rustmagazine.org

# Rust Podcasts

https://changelog.com/topic/rust


# Rust Doc std(standard Library DOC)

https://doc.rust-lang.org/std/


## DOCS.RS(rust 기타 crate문서들)

https://docs.rs/



# awesome rust
https://github.com/awesome-rust-com/awesome-rust


# Learn Rust With Entirely Too Many Linked Lists

https://rust-unofficial.github.io/too-many-lists/index.html




# Rust Design Patterns

https://rust-unofficial.github.io/patterns/intro.html



# LunarVim InLayHint _____Comment Color

```
// 어두운 빨간색
: hi Comment guifg=#cfe2f3 guibg=#c90076

// 밝은 분홍색 느낌
: hi Comment guifg=#cfe2f3 guibg=#ff439f

```

- color-hex

https://www.color-hex.com/color/ff439f


## LunarVim Hover

Control + Space


```
Shift + K 하면 이상한 문서가 나옴

Control + Space 해야 내가 생각하는 Hover 가 나온다.

rust-tools.lua 파일 참조

```


- 한글러스트Rust강의_049⭐️Rust개발환경LunarVim세팅하기_LunarVim_macOS_M1_pro #lunarvim #CocInlayHint #rustinlayhint

https://youtu.be/c8FX89jf4To



# Vim Setting (type 빨강색으로 강조하기 칙칙한 검은색 너무 싫다.)

-vim 에서

```
:hi CocInlayHint ctermbg=125

5 밝다
52 어둡다

```

- 내가 원하는 색깔 256 컬러에서 고르자 ㅎㅎ

https://www.ditig.com/256-colors-cheat-sheet


- 한글러스트Rust강의_048⭐️Rust개발환경Vim세팅하기_Vim_macOS_M1_pro #vim #CocInlayHint #rustinlayhint

https://youtu.be/gIUOkdMjo8o



# vim documentation scroll(Vim key map)

- CTRL-F (PageDown)

- CTRL-D (PageUp)

```
*CTRL-E*
CTRL-E Scroll window [count] lines downwards in the buffer.
Mnemonic: Extra lines.

*CTRL-D*
CTRL-D Scroll window Downwards in the buffer. The number of
lines comes from the 'scroll' option (default: half a
screen). If [count] given, first set 'scroll' option
to [count]. The cursor is moved the same number of
lines down in the file (if possible; when lines wrap
and when hitting the end of the file there may be a
difference). When the cursor is on the last line of
the buffer nothing happens and a beep is produced.
See also 'startofline' option.
{difference from vi: Vim scrolls 'scroll' screen
lines, instead of file lines; makes a difference when
lines wrap}

or ** **

or ** *CTRL-F*
CTRL-F Scroll window [count] pages Forwards (downwards) in
the buffer. See also 'startofline' option.
When there is only one window the 'window' option
might be used.
```


https://vimdoc.sourceforge.net/htmldoc/scroll.html#scroll-down



# Vim Command

```
:CocCommand

// rust-analyzer 다시 시작
FUZZY > rust-analyzer.reload

// rust-analyzer upgrade
FUZZY > rust-analyzer.upgrade

:CocOpenLog
error log 보기

:CocConfig
VSCode Setting.JSON 과 비슷
```


# Vim CocInstall (rust-analyzer)

https://github.com/fannheyward/coc-rust-analyzer#highlight-group

```
:CocInstall coc-rust-analyzer

remove rust-analyzer config from coc-settings.json if you've set

NOTE: For Apple Silicon users, you shouldn't use Node.js v15, checkout #975 for more.

// 이렇게 하면 coc-settings.JSON 에 들어간다.
:CocConfig

```

https://rust-analyzer.github.io/manual.html#vimneovim


# Vim 창 나누기

```
// 창 좌우로 나누기
:vs

// 창 상하로 나누기
:sp

// 가운데 선 아래(Down)으로 이동 (:sp에서 주로 사용)
:ObviousResizeDown

// 가운데 선 위(Up)로 이동 (:sp에서 주로 사용)
:ObviousResizeUp

// 가운데 선 오른쪽(Right)으로 이동(:vs에서 주로 사용)
:ObviousResizeRight

// 가운데 선 왼쪽(Left)으로 이동(:vs에서 주로 사용)
:ObviousResizeLeft
```

- Plug in 설치 없이 사용 가능

```
// Plug In 설치 없이 가능한 명령어
// 위, 아래 크기 조절
:resize +10

// 좌, 우 조절
:vertical resize +10

```




# tokio

https://tokio.rs/tokio/tutorial/hello-tokio


## WebScraping

https://stackoverflow.com/questions/70429627/webscraping-a-list-of-items


# Science : Rust-cookbook

https://rust-lang-nursery.github.io/rust-cookbook/science.html


# Science : Rust Blog

https://m.blog.naver.com/PostList.naver?blogId=phy2sci&categoryName=RUST%20%EC%BD%94%EB%94%A9%EC%9C%BC%EB%A1%9C%20%EB%AC%BC%EB%A6%AC%ED%95%99%EC%9D%84..&categoryNo=15&logCode=0



# Easy Rust (My Teacher스승님 최고 ❤️)

Updating

2021-12-10 : Rust 기초 강의 시작

> #### Rust 스승님 Git

> - https://github.com/Dhghomon/easy_rust/

> - 유튜브 주소(한글 강의)
> - 1강
> - https://www.youtube.com/watch?v=W9DO6m8JSSs


> - 유튜브 주소(My Teacher영어 강의English Ver.)
> - 1강
> - https://www.youtube.com/watch?v=-lYeJeQ11OI&list=PLfllocyHVgsRwLkTAhG0E-2QxCf-ozBkk&index=1

-Easy Rust eBook

- https://dhghomon.github.io/easy_rust/


- Rust 강의 집중!!


# Rust PlayGround

[https://play.rust-lang.org/](https://play.rust-lang.org/)




# Rust vs C# primitive type

- 영어 출처
https://learn.microsoft.com/en-us/dotnet/api/system.type.isprimitive?view=net-7.0


8bit = 1 bytes



Rust vs C#


분류(Type)
Rust
C#


Char
char
i8
(size: 4 bytes)
char
(size: 2 bytes)


signed integer
8bit
i8
(size: 1 bytes)
sbyte
(size: 1 bytes)


signed integer
16bit
i16
(size: 2 bytes)
short
(size: 2 bytes)


signed integer
32bit
i32
(size: 4 bytes)
int
(size: 4 bytes)


signed integer
64bit
i64
(size: 8 bytes)
long


--
--
--


unsigned integer
8bit
u8
byte


unsigned integer
16bit
u16
ushort


unsigned integer
32bit
u32
uint


unsigned integer
64bit
u64
ulong


--
--
--


floating point
부동 소수점
32 bit
f32
(size: 4bytes)
float
(size: 4bytes)


floating point
부동 소수점
64 bit
f64
(size: 8bytes)
double
(size: 8bytes)


--
--
--


Decimal
128 bit
f128
decimal
(size: 16bytes)


- C# byte 용량정리 잘됨

https://condor.depaul.edu/sjost/nwdp/notes/cs1/CSDatatypes.htm


- C# char

https://learn.microsoft.com/ko-kr/dotnet/csharp/language-reference/builtin-types/char

- C# decimal

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/floating-point-numeric-types



- Rust types

https://dhghomon.github.io/easy_rust/Chapter_7.html


- 러스트변수용량계산하기_Calculating the variable capacity_Java Hello World_Print#rust

https://youtu.be/ncmbWBs2-WA


- Rust f32, f64 byte 잘 나옴

https://docs.rs/fsize/latest/fsize/





# Rust Tutorial Full Course

https://youtu.be/ygL_xcavzQ4