pub struct CpfFile {
pub font: u32,
pub shadow: u32,
pub colors: [u32; 4],
pub hex_lines: i32,
pub paper_disabled: u32,
pub background: u8,
pub screen_limit: i32,
}Expand description
Raw persisted settings; interpretation and loading defaults belong to the host.
Fields§
§font: u32Font selector, normally zero or one.
shadow: u32Stored shadow setting, normally zero or one.
colors: [u32; 4]GUI color indices in edit, report, screen and paper order.
hex_lines: i32Hexadecimal dump line count; the engine clamps values below one on load.
paper_disabled: u32Zero enables paper artwork; one selects a solid background.
background: u8Palette entry for the solid background.
screen_limit: i32Screen limit with eight fractional bits.
Trait Implementations§
impl Eq for CpfFile
impl StructuralPartialEq for CpfFile
Auto Trait Implementations§
impl Freeze for CpfFile
impl RefUnwindSafe for CpfFile
impl Send for CpfFile
impl Sync for CpfFile
impl Unpin for CpfFile
impl UnsafeUnpin for CpfFile
impl UnwindSafe for CpfFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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
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.