https://changelog.com/topic/rust
https://doc.rust-lang.org/std/
https://github.com/awesome-rust-com/awesome-rust
https://rust-unofficial.github.io/too-many-lists/index.html
https://rust-unofficial.github.io/patterns/intro.html
// 어두운 빨간색
: hi Comment guifg=#cfe2f3 guibg=#c90076
// 밝은 분홍색 느낌
: hi Comment guifg=#cfe2f3 guibg=#ff439f
- color-hex
https://www.color-hex.com/color/ff439f
Control + Space
Shift + K 하면 이상한 문서가 나옴
Control + Space 해야 내가 생각하는 Hover 가 나온다.
rust-tools.lua 파일 참조
- 한글러스트Rust강의_049⭐️Rust개발환경LunarVim세팅하기_LunarVim_macOS_M1_pro #lunarvim #CocInlayHint #rustinlayhint
-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
-
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}
<S-Down> or *<S-Down>* *<kPageDown>*
<PageDown> or *<PageDown>* *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
:CocCommand
// rust-analyzer 다시 시작
FUZZY > rust-analyzer.reload
// rust-analyzer upgrade
FUZZY > rust-analyzer.upgrade
:CocOpenLog
error log 보기
:CocConfig
VSCode Setting.JSON 과 비슷
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
// 창 좌우로 나누기
:vs
// 창 상하로 나누기
:sp
// 가운데 선 아래(Down)으로 이동 (:sp에서 주로 사용)
:ObviousResizeDown
// 가운데 선 위(Up)로 이동 (:sp에서 주로 사용)
:ObviousResizeUp
// 가운데 선 오른쪽(Right)으로 이동(:vs에서 주로 사용)
:ObviousResizeRight
// 가운데 선 왼쪽(Left)으로 이동(:vs에서 주로 사용)
:ObviousResizeLeft
- Plug in 설치 없이 사용 가능
// Plug In 설치 없이 가능한 명령어
// 위, 아래 크기 조절
:resize +10
// 좌, 우 조절
:vertical resize +10
https://tokio.rs/tokio/tutorial/hello-tokio
https://stackoverflow.com/questions/70429627/webscraping-a-list-of-items
https://rust-lang-nursery.github.io/rust-cookbook/science.html
2021-12-10 : 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
- Rust 강의 집중!!
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
- Rust types
https://dhghomon.github.io/easy_rust/Chapter_7.html
- 러스트변수용량계산하기_Calculating the variable capacity_Java Hello World_Print#rust
- Rust f32, f64 byte 잘 나옴
https://docs.rs/fsize/latest/fsize/