Skip to main content

RenderNodeType

Enum RenderNodeType 

Source
pub enum RenderNodeType {
Show 24 variants Page(PageNode), PageBackground(PageBackgroundNode), MasterPage, Header, Footer, Body { clip_rect: Option<BoundingBox>, }, Column(u16), FootnoteArea, TextLine(TextLineNode), TextRun(TextRunNode), Table(TableNode), TableCell(TableCellNode), Line(LineNode), Rectangle(RectangleNode), Ellipse(EllipseNode), Path(PathNode), Image(ImageNode), Group(GroupNode), TextBox, Equation(EquationNode), FormObject(FormObjectNode), FootnoteMarker(FootnoteMarkerNode), Placeholder(PlaceholderNode), RawSvg(RawSvgNode),
}
Expand description

렌더 노드 종류

Variants§

§

Page(PageNode)

페이지 루트 노드

§

PageBackground(PageBackgroundNode)

페이지 배경/테두리

§

MasterPage

바탕쪽 영역

§

Header

머리말 영역

§

Footer

꼬리말 영역

§

Body

본문 영역

Fields

§clip_rect: Option<BoundingBox>

콘텐츠 클리핑 영역 (페이지 경계 넘침 방지)

§

Column(u16)

단(Column) 영역

§

FootnoteArea

각주 영역

§

TextLine(TextLineNode)

텍스트 줄

§

TextRun(TextRunNode)

텍스트 런 (동일 글자 모양의 텍스트 조각)

§

Table(TableNode)

표

§

TableCell(TableCellNode)

표 셀

§

Line(LineNode)

직선

§

Rectangle(RectangleNode)

사각형

§

Ellipse(EllipseNode)

타원

§

Path(PathNode)

패스 (다각형, 곡선, 호)

§

Image(ImageNode)

이미지

§

Group(GroupNode)

묶음 개체

§

TextBox

글상자 (텍스트가 포함된 그리기 개체)

§

Equation(EquationNode)

수식

§

FormObject(FormObjectNode)

양식 개체

§

FootnoteMarker(FootnoteMarkerNode)

각주/미주 마커 (인라인 위첨자)

§

Placeholder(PlaceholderNode)

차트/OLE placeholder (배경 rect + 중앙 텍스트 라벨) — Task #195

§

RawSvg(RawSvgNode)

이미 생성된 SVG 조각을 그대로 출력 (OOXML 차트 등) — Task #195 단계 8

Trait Implementations§

Source§

impl Clone for RenderNodeType

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RenderNodeType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Serialize for RenderNodeType

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> Finish for T

Source§

fn finish(self)

Does nothing but move self, equivalent to drop.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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 more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<U, T> ToOwnedObj<U> for T
where U: FromObjRef<T>,

Source§

fn to_owned_obj(&self, data: FontData<'_>) -> U

Convert this type into T, using the provided data to resolve any offsets.
Source§

impl<U, T> ToOwnedTable<U> for T
where U: FromTableRef<T>,

Source§

fn to_owned_table(&self) -> U

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<S, T> Upcast<T> for S
where T: UpcastFrom<S> + ?Sized, S: ?Sized,

Source§

fn upcast(&self) -> &T
where Self: ErasableGeneric, T: Sized + ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider ref type within the Wasm bindgen generics type system. Read more
Source§

fn upcast_into(self) -> T
where Self: Sized + ErasableGeneric, T: Sized + ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider type within the Wasm bindgen generics type system. Read more