#[repr(C)]pub struct Input { /* private fields */ }
Implementations§
Source§impl Input
impl Input
pub fn kind(&self) -> InputType
pub fn id(&self) -> Option<&str>
pub fn source_graphic() -> Self
pub fn source_alpha() -> Self
pub fn background_image() -> Self
pub fn background_alpha() -> Self
pub fn fill_paint() -> Self
pub fn stroke_paint() -> Self
pub fn unspecified() -> Self
pub fn new<T: AsRef<str>>(id: T) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Input
impl !RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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