Lines Matching defs:Level
36 pub struct Level(u8); struct
54 impl Level { implementation
81 pub fn new(number: u8) -> Result<Level, Error> { in new()
91 pub fn new_explicit(number: u8) -> Result<Level, Error> { in new_explicit()
169 pub fn new_explicit_next_ltr(&self) -> Result<Level, Error> { in new_explicit_next_ltr()
175 pub fn new_explicit_next_rtl(&self) -> Result<Level, Error> { in new_explicit_next_rtl()
182 pub fn new_lowest_ge_rtl(&self) -> Result<Level, Error> { in new_lowest_ge_rtl()
196 pub fn vec(v: &[u8]) -> Vec<Level> { in vec()
204 pub fn from_slice_unchecked(v: &[u8]) -> &[Level] { in from_slice_unchecked()
209 slice::from_raw_parts(v as *const [u8] as *const u8 as *const Level, v.len()) in from_slice_unchecked() constant
222 impl Into<u8> for Level { implementation
230 impl From<u8> for Level { implementation
233 fn from(number: u8) -> Level { in from()
239 impl<'a> PartialEq<&'a str> for Level { implementation
247 impl<'a> PartialEq<String> for Level { implementation