pub struct LyricalMeterBuilder { /* private fields */ }Expand description
Builder for LyricalMeter.
Implementations§
Source§impl LyricalMeterBuilder
impl LyricalMeterBuilder
Sourcepub fn foot(self, foot: MetricalFoot) -> Self
pub fn foot(self, foot: MetricalFoot) -> Self
Sets the metrical foot.
Sourcepub fn length(self, length: LineLength) -> Self
pub fn length(self, length: LineLength) -> Self
Sets the line length.
Sourcepub fn build(self) -> LyricalMeter
pub fn build(self) -> LyricalMeter
Builds and returns the final LyricalMeter.
Trait Implementations§
Source§impl Default for LyricalMeterBuilder
impl Default for LyricalMeterBuilder
Source§fn default() -> LyricalMeterBuilder
fn default() -> LyricalMeterBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LyricalMeterBuilder
impl RefUnwindSafe for LyricalMeterBuilder
impl Send for LyricalMeterBuilder
impl Sync for LyricalMeterBuilder
impl Unpin for LyricalMeterBuilder
impl UnwindSafe for LyricalMeterBuilder
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