pub struct TextSampleEntry {
pub display_flags: DisplayFlags,
pub text_justification: TextJustification,
pub background_color: ColorRgb,
pub default_text_box: TextBox,
pub font_number: u16,
pub font_face: FontFace,
pub foreground_color: ColorRgb,
pub font_name: String,
pub extensions: Vec<StsdExtension>,
}Fields§
§display_flags: DisplayFlags§text_justification: TextJustification§background_color: ColorRgb§default_text_box: TextBox§font_number: u16§font_face: FontFace0 = normal text
foreground_color: ColorRgb§font_name: String§extensions: Vec<StsdExtension>Implementations§
Source§impl TextSampleEntry
impl TextSampleEntry
Sourcepub fn builder() -> TextSampleEntryBuilder
pub fn builder() -> TextSampleEntryBuilder
Create an instance of TextSampleEntry using the builder syntax
Trait Implementations§
Source§impl Clone for TextSampleEntry
impl Clone for TextSampleEntry
Source§fn clone(&self) -> TextSampleEntry
fn clone(&self) -> TextSampleEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextSampleEntry
impl Debug for TextSampleEntry
Source§impl Default for TextSampleEntry
impl Default for TextSampleEntry
Source§fn default() -> TextSampleEntry
fn default() -> TextSampleEntry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TextSampleEntry
impl RefUnwindSafe for TextSampleEntry
impl Send for TextSampleEntry
impl Sync for TextSampleEntry
impl Unpin for TextSampleEntry
impl UnsafeUnpin for TextSampleEntry
impl UnwindSafe for TextSampleEntry
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<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 more