pub struct PhoneticString {
pub text: String,
pub runs: Vec<PhoneticRun>,
pub props: Option<PhoneticProps>,
}Expand description
The phonetic (furigana) data of one shared string: its <rPh> runs, in document order, and its
<phoneticPr> when the file had one.
text is the string’s base text — the only handle a cell keeps on its shared string — and is
the key the writer uses to re-emit the runs next to the right <si>.
Fields§
§text: String§runs: Vec<PhoneticRun>§props: Option<PhoneticProps>Trait Implementations§
Source§impl Clone for PhoneticString
impl Clone for PhoneticString
Source§fn clone(&self) -> PhoneticString
fn clone(&self) -> PhoneticString
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 moreSource§impl Debug for PhoneticString
impl Debug for PhoneticString
Source§impl<'de> Deserialize<'de> for PhoneticString
impl<'de> Deserialize<'de> for PhoneticString
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
impl Eq for PhoneticString
Source§impl PartialEq for PhoneticString
impl PartialEq for PhoneticString
Source§impl Serialize for PhoneticString
impl Serialize for PhoneticString
impl StructuralPartialEq for PhoneticString
Auto Trait Implementations§
impl Freeze for PhoneticString
impl RefUnwindSafe for PhoneticString
impl Send for PhoneticString
impl Sync for PhoneticString
impl Unpin for PhoneticString
impl UnsafeUnpin for PhoneticString
impl UnwindSafe for PhoneticString
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.