pub struct TextFieldToken(/* private fields */);
Expand description
Uniquely identifies a text input field inside a window.
Implementations§
Source§impl TextFieldToken
impl TextFieldToken
Sourcepub const INVALID: TextFieldToken
pub const INVALID: TextFieldToken
A token that does not correspond to any text input.
Sourcepub fn next() -> TextFieldToken
pub fn next() -> TextFieldToken
Create a new token; this should for the most part be called only by platform code.
Sourcepub const fn from_raw(id: u64) -> TextFieldToken
pub const fn from_raw(id: u64) -> TextFieldToken
Create a new token from a raw value.
Trait Implementations§
Source§impl Clone for TextFieldToken
impl Clone for TextFieldToken
Source§fn clone(&self) -> TextFieldToken
fn clone(&self) -> TextFieldToken
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TextFieldToken
impl Debug for TextFieldToken
Source§impl Hash for TextFieldToken
impl Hash for TextFieldToken
Source§impl PartialEq for TextFieldToken
impl PartialEq for TextFieldToken
Source§impl PartialOrd for TextFieldToken
impl PartialOrd for TextFieldToken
impl Copy for TextFieldToken
impl Eq for TextFieldToken
impl StructuralPartialEq for TextFieldToken
Auto Trait Implementations§
impl Freeze for TextFieldToken
impl RefUnwindSafe for TextFieldToken
impl Send for TextFieldToken
impl Sync for TextFieldToken
impl Unpin for TextFieldToken
impl UnwindSafe for TextFieldToken
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.