pub struct OwnedLayoutParams {
pub text: Substr,
pub spans: Rc<[Span]>,
pub options: LayoutOptions,
}Fields§
§text: Substr§spans: Rc<[Span]>§options: LayoutOptionsTrait Implementations§
Source§impl<'a> Borrow<dyn LayoutParams + 'a> for OwnedLayoutParams
impl<'a> Borrow<dyn LayoutParams + 'a> for OwnedLayoutParams
Source§fn borrow(&self) -> &(dyn LayoutParams + 'a)
fn borrow(&self) -> &(dyn LayoutParams + 'a)
Immutably borrows from an owned value. Read more
Source§impl Clone for OwnedLayoutParams
impl Clone for OwnedLayoutParams
Source§fn clone(&self) -> OwnedLayoutParams
fn clone(&self) -> OwnedLayoutParams
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 Debug for OwnedLayoutParams
impl Debug for OwnedLayoutParams
Source§impl Hash for OwnedLayoutParams
impl Hash for OwnedLayoutParams
Source§impl LayoutParams for OwnedLayoutParams
impl LayoutParams for OwnedLayoutParams
Source§impl PartialEq for OwnedLayoutParams
impl PartialEq for OwnedLayoutParams
impl Eq for OwnedLayoutParams
impl StructuralPartialEq for OwnedLayoutParams
Auto Trait Implementations§
impl Freeze for OwnedLayoutParams
impl RefUnwindSafe for OwnedLayoutParams
impl !Send for OwnedLayoutParams
impl !Sync for OwnedLayoutParams
impl Unpin for OwnedLayoutParams
impl UnwindSafe for OwnedLayoutParams
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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