pub struct IocraftSegment {
pub text: String,
pub style: IocraftTextStyle,
}
Fields§
§text: String
§style: IocraftTextStyle
Trait Implementations§
Source§impl Clone for IocraftSegment
impl Clone for IocraftSegment
Source§fn clone(&self) -> IocraftSegment
fn clone(&self) -> IocraftSegment
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 Default for IocraftSegment
impl Default for IocraftSegment
Source§fn default() -> IocraftSegment
fn default() -> IocraftSegment
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IocraftSegment
impl RefUnwindSafe for IocraftSegment
impl Send for IocraftSegment
impl Sync for IocraftSegment
impl Unpin for IocraftSegment
impl UnwindSafe for IocraftSegment
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