pub struct NoteBuilder { /* private fields */ }Implementations§
Source§impl NoteBuilder
impl NoteBuilder
pub fn new(content: impl Into<String>) -> Self
pub fn style(self, style: Style) -> Self
pub fn break_before(self, break_before: BreakType) -> Self
pub fn fixed(self, fixed: bool) -> Self
pub fn wrap(self, wrap: bool) -> Self
pub fn min_presence_ahead(self, value: f32) -> Self
pub fn build(self) -> Note
Trait Implementations§
Source§impl Debug for NoteBuilder
impl Debug for NoteBuilder
Source§impl From<NoteBuilder> for Component
impl From<NoteBuilder> for Component
Source§fn from(value: NoteBuilder) -> Self
fn from(value: NoteBuilder) -> Self
Converts to this type from the input type.
Source§impl From<NoteBuilder> for Note
impl From<NoteBuilder> for Note
Source§fn from(value: NoteBuilder) -> Self
fn from(value: NoteBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NoteBuilder
impl RefUnwindSafe for NoteBuilder
impl Send for NoteBuilder
impl Sync for NoteBuilder
impl Unpin for NoteBuilder
impl UnsafeUnpin for NoteBuilder
impl UnwindSafe for NoteBuilder
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