pub struct TextLineNode {
pub caption_owner: Option<CaptionOwner>,
pub line_height: f64,
pub baseline: f64,
pub section_index: Option<usize>,
pub para_index: Option<usize>,
pub line_index: Option<u32>,
pub vpos: Option<i32>,
}Expand description
텍스트 줄 노드
Fields§
§caption_owner: Option<CaptionOwner>Optional source ownership; ordinary body lines keep their existing JSON.
line_height: f64줄 높이 (px)
baseline: f64베이스라인 위치 (줄 상단으로부터, px)
section_index: Option<usize>소속 구역 인덱스 (빈 문단 커서 위치 계산용)
para_index: Option<usize>소속 문단 인덱스 (빈 문단 커서 위치 계산용)
line_index: Option<u32>문단 내 줄 인덱스 (디버그 오버레이용)
vpos: Option<i32>LINE_SEG vertical_pos (HWPUNIT, 디버그 오버레이/vpos-reset 검출용)
Implementations§
Trait Implementations§
Source§impl Clone for TextLineNode
impl Clone for TextLineNode
Source§impl Debug for TextLineNode
impl Debug for TextLineNode
Auto Trait Implementations§
impl Forget for TextLineNode
impl Freeze for TextLineNode
impl Move for TextLineNode
impl RefUnwindSafe for TextLineNode
impl Send for TextLineNode
impl Sync for TextLineNode
impl Unpin for TextLineNode
impl UnsafeUnpin for TextLineNode
impl UnwindSafe for TextLineNode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.