pub struct META_CREATEPENINDIRECT {
pub record_size: RecordSize,
pub record_function: u16,
pub pen: Pen,
}Expand description
The META_CREATEPENINDIRECT Record creates a Pen Object.
Fields§
§record_size: RecordSizeRecordSize (4 bytes): A 32-bit unsigned integer that defines the number of WORD structures, defined in [MS-DTYP] section 2.2.61, in the WMF record.
record_function: u16RecordFunction (2 bytes): A 16-bit unsigned integer that defines this WMF record type. The lower byte MUST match the lower byte of the RecordType Enumeration table value META_CREATEPENINDIRECT.
pen: PenPen (10 bytes): Pen Object data that defines the pen to create.
Implementations§
Source§impl META_CREATEPENINDIRECT
impl META_CREATEPENINDIRECT
pub fn parse<R: Read>( buf: &mut R, record_size: RecordSize, record_function: u16, ) -> Result<Self, ParseError>
Trait Implementations§
Source§impl Clone for META_CREATEPENINDIRECT
impl Clone for META_CREATEPENINDIRECT
Auto Trait Implementations§
impl Forget for META_CREATEPENINDIRECT
impl Freeze for META_CREATEPENINDIRECT
impl Move for META_CREATEPENINDIRECT
impl RefUnwindSafe for META_CREATEPENINDIRECT
impl Send for META_CREATEPENINDIRECT
impl Sync for META_CREATEPENINDIRECT
impl Unpin for META_CREATEPENINDIRECT
impl UnsafeUnpin for META_CREATEPENINDIRECT
impl UnwindSafe for META_CREATEPENINDIRECT
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.