Lines Matching refs:Arg
3 use rustix::path::Arg;
17 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
22 assert_eq!("hello", Arg::as_str(&t).unwrap());
23 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
29 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
35 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
41 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
47 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
53 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
59 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
62 Borrow::borrow(&Arg::as_cow_c_str(&t).unwrap())
68 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
74 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
80 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
86 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
92 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
98 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
104 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
110 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
116 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
122 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
128 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t));
136 assert_eq!("43110".to_owned(), Arg::to_string_lossy(&t));
149 assert_eq!("hello\u{fffd}world".to_owned(), Arg::to_string_lossy(&t));
164 assert_eq!("hello\0world".to_owned(), Arg::to_string_lossy(&t));