Enum makepad_code_editor::inlays::InlineInlay
source · pub enum InlineInlay {
Text(String),
Widget(InlineWidget),
}Variants§
Text(String)
Widget(InlineWidget)
Trait Implementations§
source§impl Clone for InlineInlay
impl Clone for InlineInlay
source§fn clone(&self) -> InlineInlay
fn clone(&self) -> InlineInlay
Returns a copy 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 InlineInlay
impl Debug for InlineInlay
source§impl Hash for InlineInlay
impl Hash for InlineInlay
source§impl PartialEq<InlineInlay> for InlineInlay
impl PartialEq<InlineInlay> for InlineInlay
source§fn eq(&self, other: &InlineInlay) -> bool
fn eq(&self, other: &InlineInlay) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for InlineInlay
impl StructuralEq for InlineInlay
impl StructuralPartialEq for InlineInlay
Auto Trait Implementations§
impl RefUnwindSafe for InlineInlay
impl Send for InlineInlay
impl Sync for InlineInlay
impl Unpin for InlineInlay
impl UnwindSafe for InlineInlay
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