pub enum Content<'a> {
None,
Text(TextView<'a>),
Icon(IconView<'a>),
Image(ImageView<'a>),
Capture(CaptureView<'a>),
Input(InputView<'a>),
}Expand description
What a node draws besides its background and border.
Variants§
None
Nothing.
Text(TextView<'a>)
Text.
Icon(IconView<'a>)
An icon.
Image(ImageView<'a>)
An image.
Capture(CaptureView<'a>)
A screencopy view’s frame.
Input(InputView<'a>)
A text field.
Auto Trait Implementations§
impl<'a> !Send for Content<'a>
impl<'a> !Sync for Content<'a>
impl<'a> Forget for Content<'a>
impl<'a> Freeze for Content<'a>
impl<'a> Move for Content<'a>
impl<'a> RefUnwindSafe for Content<'a>
impl<'a> Unpin for Content<'a>
impl<'a> UnsafeUnpin for Content<'a>
impl<'a> UnwindSafe for Content<'a>
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