pub struct DotMark {
pub color: Option<Color>,
pub radius: Option<f32>,
pub each: bool,
}Expand description
着重点参数。
Fields§
§color: Option<Color>点色;None = 跟随文字墨色。
radius: Option<f32>点半径(逻辑像素);None = 0.09 倍字号。
each: bool逐字点:一字一点(中文着重号的正字法;空白跳过);false = 整段中线下一点。
Trait Implementations§
impl Copy for DotMark
impl StructuralPartialEq for DotMark
Auto Trait Implementations§
impl Freeze for DotMark
impl RefUnwindSafe for DotMark
impl Send for DotMark
impl Sync for DotMark
impl Unpin for DotMark
impl UnsafeUnpin for DotMark
impl UnwindSafe for DotMark
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