pub struct SelectElement { /* private fields */ }Expand description
HTML select 要素を表す構造体
Implementations§
Source§impl SelectElement
impl SelectElement
Sourcepub fn options(&self) -> Vec<SelectOption>
pub fn options(&self) -> Vec<SelectOption>
全てのオプションを取得
Sourcepub fn selected_option(&self) -> Result<SelectOption>
pub fn selected_option(&self) -> Result<SelectOption>
選択されているオプションを取得
Trait Implementations§
Source§impl Clone for SelectElement
impl Clone for SelectElement
Source§fn clone(&self) -> SelectElement
fn clone(&self) -> SelectElement
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SelectElement
impl RefUnwindSafe for SelectElement
impl Send for SelectElement
impl Sync for SelectElement
impl Unpin for SelectElement
impl UnwindSafe for SelectElement
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