pub enum TextSelectMode {
None,
SelectAndCopy,
All,
}Expand description
Controls interactive text selection and clipboard copy behavior on a scene node and its descendants.
Variants§
None
Disables text selection and copy (default on all nodes; overrides selectable ancestors).
SelectAndCopy
Enables character, word, line, and multi-line drag selection plus clipboard copy.
All
Single click selects the entire selectable text block as one unit for quick one-shot copy.
Trait Implementations§
Source§impl Clone for TextSelectMode
impl Clone for TextSelectMode
impl Copy for TextSelectMode
Source§impl Debug for TextSelectMode
impl Debug for TextSelectMode
Source§impl Default for TextSelectMode
impl Default for TextSelectMode
impl Eq for TextSelectMode
Source§impl Hash for TextSelectMode
impl Hash for TextSelectMode
Source§impl Ord for TextSelectMode
impl Ord for TextSelectMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TextSelectMode
impl PartialEq for TextSelectMode
Source§impl PartialOrd for TextSelectMode
impl PartialOrd for TextSelectMode
impl StructuralPartialEq for TextSelectMode
Auto Trait Implementations§
impl Forget for TextSelectMode
impl Freeze for TextSelectMode
impl Move for TextSelectMode
impl RefUnwindSafe for TextSelectMode
impl Send for TextSelectMode
impl Sync for TextSelectMode
impl Unpin for TextSelectMode
impl UnsafeUnpin for TextSelectMode
impl UnwindSafe for TextSelectMode
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