pub struct DiagonalLine {
pub diagonal_type: u8,
pub width: u8,
pub color: ColorRef,
}Expand description
대각선 정보
Fields§
§diagonal_type: u8대각선 선 종류 코드. BorderLineType의 HWP/HWPX 코드와 같은 값을 사용한다.
width: u8대각선 굵기
color: ColorRef대각선 색상
Trait Implementations§
Source§impl Clone for DiagonalLine
impl Clone for DiagonalLine
impl Copy for DiagonalLine
Source§impl Debug for DiagonalLine
impl Debug for DiagonalLine
Source§impl Default for DiagonalLine
impl Default for DiagonalLine
Source§impl PartialEq for DiagonalLine
impl PartialEq for DiagonalLine
Source§impl Serialize for DiagonalLine
impl Serialize for DiagonalLine
impl StructuralPartialEq for DiagonalLine
Auto Trait Implementations§
impl Forget for DiagonalLine
impl Freeze for DiagonalLine
impl Move for DiagonalLine
impl RefUnwindSafe for DiagonalLine
impl Send for DiagonalLine
impl Sync for DiagonalLine
impl Unpin for DiagonalLine
impl UnsafeUnpin for DiagonalLine
impl UnwindSafe for DiagonalLine
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.