pub enum OptimizedTextType {
Content,
Title,
Attribute(String),
Meta(String),
}Expand description
优化的文本类型枚举
Variants§
Implementations§
Source§impl OptimizedTextType
impl OptimizedTextType
Sourcepub fn discriminant(&self) -> u8
pub fn discriminant(&self) -> u8
获取类型判别符(用于排序和分组)
Trait Implementations§
Source§impl Clone for OptimizedTextType
impl Clone for OptimizedTextType
Source§fn clone(&self) -> OptimizedTextType
fn clone(&self) -> OptimizedTextType
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for OptimizedTextType
impl RefUnwindSafe for OptimizedTextType
impl Send for OptimizedTextType
impl Sync for OptimizedTextType
impl Unpin for OptimizedTextType
impl UnwindSafe for OptimizedTextType
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