Enum duat_core::text::BuilderPart
source · pub enum BuilderPart<D>where
D: Display,{
Text(Text),
Tag(Tag),
ToString(D),
}Variants§
Trait Implementations§
source§impl From<AlignCenter> for BuilderPart<String>
impl From<AlignCenter> for BuilderPart<String>
source§fn from(_: AlignCenter) -> Self
fn from(_: AlignCenter) -> Self
Converts to this type from the input type.
source§impl From<AlignRight> for BuilderPart<String>
impl From<AlignRight> for BuilderPart<String>
source§fn from(_: AlignRight) -> Self
fn from(_: AlignRight) -> Self
Converts to this type from the input type.
source§impl<D> From<D> for BuilderPart<D>where
D: Display,
impl<D> From<D> for BuilderPart<D>where
D: Display,
Auto Trait Implementations§
impl<D> Freeze for BuilderPart<D>where
D: Freeze,
impl<D> !RefUnwindSafe for BuilderPart<D>
impl<D> Send for BuilderPart<D>where
D: Send,
impl<D> Sync for BuilderPart<D>where
D: Sync,
impl<D> Unpin for BuilderPart<D>where
D: Unpin,
impl<D> !UnwindSafe for BuilderPart<D>
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