pub struct StaticString {
pub encoding: StringEncoding,
pub offset: Address,
pub string: String,
}Expand description
静态字符串(static strings / language strings)。
Fields§
§encoding: StringEncoding§offset: Address§string: StringTrait Implementations§
Source§impl Clone for StaticString
impl Clone for StaticString
Source§fn clone(&self) -> StaticString
fn clone(&self) -> StaticString
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StaticString
impl Debug for StaticString
Source§impl<'de> Deserialize<'de> for StaticString
impl<'de> Deserialize<'de> for StaticString
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StaticString
impl PartialEq for StaticString
Source§impl Serialize for StaticString
impl Serialize for StaticString
impl Eq for StaticString
impl StructuralPartialEq for StaticString
Auto Trait Implementations§
impl Freeze for StaticString
impl RefUnwindSafe for StaticString
impl Send for StaticString
impl Sync for StaticString
impl Unpin for StaticString
impl UnwindSafe for StaticString
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