pub struct Title { /* private fields */ }
Implementations§
§impl Title
impl Title
pub fn new() -> Self
pub fn get_display(&mut self) -> &mut Option<bool>
pub fn display(self, value: impl Into<bool>) -> Title
pub fn get_font(&mut self) -> &mut Option<Font>
pub fn font(self, value: impl Into<Font>) -> Title
pub fn get_text(&mut self) -> &mut String
pub fn text(self, value: impl Into<String>) -> Title
Trait Implementations§
source§impl<'de> Deserialize<'de> for Title
impl<'de> Deserialize<'de> for Title
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Title
impl Ord for Title
source§impl PartialOrd for Title
impl PartialOrd for Title
impl Eq for Title
impl StructuralPartialEq for Title
Auto Trait Implementations§
impl Freeze for Title
impl RefUnwindSafe for Title
impl Send for Title
impl Sync for Title
impl Unpin for Title
impl UnwindSafe for Title
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)