pub enum Case {
Sensitive,
Insensitive,
}Expand description
Case-sensitivity mode for parsing and lookup.
UCUM defines a case-sensitive (c/s) and a case-insensitive (c/i) form.
c/s is the default for data interchange and the one the free functions
(parse, analyze, …) use. Use Ucum::case_insensitive to opt into
c/i, where codes are matched against the upper-case CODE column.
Variants§
Sensitive
The c/s form: m (meter) ≠ M (mega). The default.
Insensitive
The c/i form: case-insensitive matching (L, l, and MOL resolve).
Trait Implementations§
impl Copy for Case
impl Eq for Case
impl StructuralPartialEq for Case
Auto Trait Implementations§
impl Freeze for Case
impl RefUnwindSafe for Case
impl Send for Case
impl Sync for Case
impl Unpin for Case
impl UnsafeUnpin for Case
impl UnwindSafe for Case
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more