pub struct Level<'a> {
pub parts: &'a [Part],
pub path: String,
pub slot: Option<BranchSlot>,
}Expand description
One level of a message: the message itself or a branch, with the path the crates write to extra["icu"]
(count: plural one, n: plural one / g: select x; empty for the message’s own text).
Fields§
§parts: &'a [Part]The level’s pieces.
path: StringThe path of the level in the message.
slot: Option<BranchSlot>The branch’s slot; None for the message’s own text.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Level<'a>
impl<'a> Freeze for Level<'a>
impl<'a> Move for Level<'a>
impl<'a> RefUnwindSafe for Level<'a>
impl<'a> Send for Level<'a>
impl<'a> Sync for Level<'a>
impl<'a> Unpin for Level<'a>
impl<'a> UnsafeUnpin for Level<'a>
impl<'a> UnwindSafe for Level<'a>
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