pub struct TextCode {
pub x: Option<f64>,
pub y: Option<f64>,
pub delta_x: Option<String>,
pub delta_y: Option<String>,
pub text: Option<String>,
}Expand description
TextCode:一段文字的定位与字符内容(见表 46)。
Fields§
§x: Option<f64>首字符的字形原点横坐标(对象坐标系,毫米)。
y: Option<f64>首字符的字形原点纵坐标(对象坐标系,毫米)。
delta_x: Option<String>相邻字符在 X 方向的偏移序列,支持 g 游程编码(可选)。
delta_y: Option<String>相邻字符在 Y 方向的偏移序列,支持 g 游程编码(可选)。
text: Option<String>字符内容。
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TextCode
impl<'de> Deserialize<'de> for TextCode
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
Auto Trait Implementations§
impl Freeze for TextCode
impl RefUnwindSafe for TextCode
impl Send for TextCode
impl Sync for TextCode
impl Unpin for TextCode
impl UnsafeUnpin for TextCode
impl UnwindSafe for TextCode
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