Lines Matching defs:ref
7 pub static ref NUMBER: u32 = times_two(3); constant
9 static ref ARRAY_BOXES: [Box<u32>; 3] = [Box::new(1), Box::new(2), Box::new(3)]; constant
14 pub static ref STRING: String = "hello".to_string(); constant
16 static ref HASHMAP: HashMap<u32, &'static str> = { constant
25 static ref UNSAFE: u32 = unsafe { constant
31 static ref S1: &'static str = "a"; constant
32 static ref S2: &'static str = "b"; constant
35 static ref S3: String = [*S1, *S2].join(""); constant
77 pub static ref FOO: Box<u32> = Box::new(0); constant
78 static ref BAR: Box<u32> = Box::new(98); constant
105 pub static ref VAR: i32 = { 0 }; constant
121 static ref ITEM_NAME_TEST: X = { constant
144 static ref PRE_INIT: () = { constant
158 static ref LIFETIME_NAME: for<'a> fn(&'a u8) = { fn f(_: &u8) {} f }; constant