pub struct ChromeString {
pub key: &'static str,
pub en: &'static str,
pub args: usize,
pub slot: usize,
}Expand description
One compiler-authored player-visible string.
Fields§
§key: &'static strThe stable delvewright.ui.… translation key.
en: &'static strThe canonical English text, %s for each argument.
args: usizeHow many with arguments the component supplies.
slot: usizeThis string’s index in ALL — the slot a language table fills.
Implementations§
Trait Implementations§
Source§impl Clone for ChromeString
impl Clone for ChromeString
Source§fn clone(&self) -> ChromeString
fn clone(&self) -> ChromeString
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChromeString
Source§impl Debug for ChromeString
impl Debug for ChromeString
impl Eq for ChromeString
Source§impl PartialEq for ChromeString
impl PartialEq for ChromeString
impl StructuralPartialEq for ChromeString
Auto Trait Implementations§
impl Freeze for ChromeString
impl RefUnwindSafe for ChromeString
impl Send for ChromeString
impl Sync for ChromeString
impl Unpin for ChromeString
impl UnsafeUnpin for ChromeString
impl UnwindSafe for ChromeString
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