DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUST
how to check if a thing is in a vector in rust
foo.contains(&x); list.iter().any(|v| v == &x) (&list).into_iter().any(|v| v == &x)
PREVIOUS
NEXT
Tagged:
#check
#vector
#rust
ADD COMMENT
Topic
COMMENT
Name
8+9 =
Submit