Enum savory::node::Node [−][src]
A component in our virtual DOM.
MDN reference
web_sys
reference
Variants
Element(El<Ms>)
Text(Text)
Implementations
impl<Ms> Node<Ms>
[src]
pub fn from_markdown(markdown: &str) -> Vec<Node<Ms>, Global>
[src]
See El::from_markdown
pub fn from_html(html: &str) -> Vec<Node<Ms>, Global>
[src]
See El::from_html
pub fn add_child(&mut self, node: Node<Ms>) -> &mut Node<Ms>
[src]
See El::add_child
pub fn add_attr(
&mut self,
key: impl Into<Cow<'static, str>>,
val: impl Into<AtValue>
) -> &mut Node<Ms>
[src]
&mut self,
key: impl Into<Cow<'static, str>>,
val: impl Into<AtValue>
) -> &mut Node<Ms>
See El::add_attr
pub fn add_class(&mut self, name: impl Into<Cow<'static, str>>) -> &mut Node<Ms>
[src]
See El::add_class
pub fn add_style(
&mut self,
key: impl Into<St>,
val: impl Into<CSSValue>
) -> &mut Node<Ms>
[src]
&mut self,
key: impl Into<St>,
val: impl Into<CSSValue>
) -> &mut Node<Ms>
See El::add_style
pub fn add_event_handler(
&mut self,
event_handler: EventHandler<Ms>
) -> &mut Node<Ms>
[src]
&mut self,
event_handler: EventHandler<Ms>
) -> &mut Node<Ms>
See El::add_event_handler
pub fn add_text(&mut self, text: impl Into<Cow<'static, str>>) -> &mut Node<Ms>
[src]
See El::add_text
pub fn replace_text(
&mut self,
text: impl Into<Cow<'static, str>>
) -> &mut Node<Ms>
[src]
&mut self,
text: impl Into<Cow<'static, str>>
) -> &mut Node<Ms>
See El::replace_text
pub fn get_text(&self) -> String
[src]
See El::get_text
pub fn el_key(&self) -> Option<&ElKey>
[src]
Retrive key
attached to the El
impl<Ms> Node<Ms>
[src]
pub fn new_text(text: impl Into<Cow<'static, str>>) -> Node<Ms>
[src]
pub const fn is_text(&self) -> bool
[src]
pub const fn is_el(&self) -> bool
[src]
pub const fn is_empty(&self) -> bool
[src]
pub const fn text(&self) -> Option<&Text>
[src]
pub const fn el(&self) -> Option<&El<Ms>>
[src]
impl<Ms> Node<Ms>
[src]
pub fn strip_ws_nodes_from_self_and_children(&mut self)
[src]
pub fn warn_about_script_tags(&self)
[src]
pub fn node_ws(&self) -> Option<&Node>
[src]
Trait Implementations
impl<Msg> AndEl<Msg> for Node<Msg>
[src]
impl<Msg> AttributeApi for Node<Msg>
[src]
fn set_attr(self, attr: impl ToString, val: impl ToString) -> Self
[src]
fn get_attr(&self, attr: impl ToString) -> Option<&str>
[src]
fn disabled(self, val: bool) -> Self
[src]
fn class(self, val: impl ToString) -> Self
[src]
fn try_class(self, val: Option<impl ToString>) -> Self
[src]
fn get_class(&self) -> Option<&str>
[src]
fn id(self, val: impl ToString) -> Self
[src]
fn try_id(self, val: Option<impl ToString>) -> Self
[src]
fn get_id(&self) -> Option<&str>
[src]
fn abbr(self, val: impl ToString) -> Self
[src]
fn try_abbr(self, val: Option<impl ToString>) -> Self
[src]
fn get_abbr(&self) -> Option<&str>
[src]
fn accept(self, val: impl ToString) -> Self
[src]
fn try_accept(self, val: Option<impl ToString>) -> Self
[src]
fn get_accept(&self) -> Option<&str>
[src]
fn accept_charset(self, val: impl ToString) -> Self
[src]
fn try_accept_charset(self, val: Option<impl ToString>) -> Self
[src]
fn get_accept_charset(&self) -> Option<&str>
[src]
fn action(self, val: impl ToString) -> Self
[src]
fn try_action(self, val: Option<impl ToString>) -> Self
[src]
fn get_action(&self) -> Option<&str>
[src]
fn allow(self, val: impl ToString) -> Self
[src]
fn try_allow(self, val: Option<impl ToString>) -> Self
[src]
fn get_allow(&self) -> Option<&str>
[src]
fn alt(self, val: impl ToString) -> Self
[src]
fn try_alt(self, val: Option<impl ToString>) -> Self
[src]
fn get_alt(&self) -> Option<&str>
[src]
fn as_(self, val: impl ToString) -> Self
[src]
fn try_as_(self, val: Option<impl ToString>) -> Self
[src]
fn get_as_(&self) -> Option<&str>
[src]
fn charset(self, val: impl ToString) -> Self
[src]
fn try_charset(self, val: Option<impl ToString>) -> Self
[src]
fn get_charset(&self) -> Option<&str>
[src]
fn cite(self, val: impl ToString) -> Self
[src]
fn try_cite(self, val: Option<impl ToString>) -> Self
[src]
fn get_cite(&self) -> Option<&str>
[src]
fn color(self, val: impl ToString) -> Self
[src]
fn try_color(self, val: Option<impl ToString>) -> Self
[src]
fn get_color(&self) -> Option<&str>
[src]
fn content(self, val: impl ToString) -> Self
[src]
fn try_content(self, val: Option<impl ToString>) -> Self
[src]
fn get_content(&self) -> Option<&str>
[src]
fn data(self, val: impl ToString) -> Self
[src]
fn try_data(self, val: Option<impl ToString>) -> Self
[src]
fn get_data(&self) -> Option<&str>
[src]
fn datetime(self, val: impl ToString) -> Self
[src]
fn try_datetime(self, val: Option<impl ToString>) -> Self
[src]
fn get_datetime(&self) -> Option<&str>
[src]
fn dir_name(self, val: impl ToString) -> Self
[src]
fn try_dir_name(self, val: Option<impl ToString>) -> Self
[src]
fn get_dir_name(&self) -> Option<&str>
[src]
fn download(self, val: impl ToString) -> Self
[src]
fn try_download(self, val: Option<impl ToString>) -> Self
[src]
fn get_download(&self) -> Option<&str>
[src]
fn for_(self, val: impl ToString) -> Self
[src]
fn try_for_(self, val: Option<impl ToString>) -> Self
[src]
fn get_for_(&self) -> Option<&str>
[src]
fn form(self, val: impl ToString) -> Self
[src]
fn try_form(self, val: Option<impl ToString>) -> Self
[src]
fn get_form(&self) -> Option<&str>
[src]
fn form_action(self, val: impl ToString) -> Self
[src]
fn try_form_action(self, val: Option<impl ToString>) -> Self
[src]
fn get_form_action(&self) -> Option<&str>
[src]
fn form_target(self, val: impl ToString) -> Self
[src]
fn try_form_target(self, val: Option<impl ToString>) -> Self
[src]
fn get_form_target(&self) -> Option<&str>
[src]
fn headers(self, val: impl ToString) -> Self
[src]
fn try_headers(self, val: Option<impl ToString>) -> Self
[src]
fn get_headers(&self) -> Option<&str>
[src]
fn href(self, val: impl ToString) -> Self
[src]
fn try_href(self, val: Option<impl ToString>) -> Self
[src]
fn get_href(&self) -> Option<&str>
[src]
fn href_lang(self, val: impl ToString) -> Self
[src]
fn try_href_lang(self, val: Option<impl ToString>) -> Self
[src]
fn get_href_lang(&self) -> Option<&str>
[src]
fn integrity(self, val: impl ToString) -> Self
[src]
fn try_integrity(self, val: Option<impl ToString>) -> Self
[src]
fn get_integrity(&self) -> Option<&str>
[src]
fn is(self, val: impl ToString) -> Self
[src]
fn try_is(self, val: Option<impl ToString>) -> Self
[src]
fn get_is(&self) -> Option<&str>
[src]
fn item_id(self, val: impl ToString) -> Self
[src]
fn try_item_id(self, val: Option<impl ToString>) -> Self
[src]
fn get_item_id(&self) -> Option<&str>
[src]
fn item_group(self, val: impl ToString) -> Self
[src]
fn try_item_group(self, val: Option<impl ToString>) -> Self
[src]
fn get_item_group(&self) -> Option<&str>
[src]
fn item_ref(self, val: impl ToString) -> Self
[src]
fn try_item_ref(self, val: Option<impl ToString>) -> Self
[src]
fn get_item_ref(&self) -> Option<&str>
[src]
fn item_type(self, val: impl ToString) -> Self
[src]
fn try_item_type(self, val: Option<impl ToString>) -> Self
[src]
fn get_item_type(&self) -> Option<&str>
[src]
fn label(self, val: impl ToString) -> Self
[src]
fn try_label(self, val: Option<impl ToString>) -> Self
[src]
fn get_label(&self) -> Option<&str>
[src]
fn lang(self, val: impl ToString) -> Self
[src]
fn try_lang(self, val: Option<impl ToString>) -> Self
[src]
fn get_lang(&self) -> Option<&str>
[src]
fn list(self, val: impl ToString) -> Self
[src]
fn try_list(self, val: Option<impl ToString>) -> Self
[src]
fn get_list(&self) -> Option<&str>
[src]
fn manifest(self, val: impl ToString) -> Self
[src]
fn try_manifest(self, val: Option<impl ToString>) -> Self
[src]
fn get_manifest(&self) -> Option<&str>
[src]
fn media(self, val: impl ToString) -> Self
[src]
fn try_media(self, val: Option<impl ToString>) -> Self
[src]
fn get_media(&self) -> Option<&str>
[src]
fn name(self, val: impl ToString) -> Self
[src]
fn try_name(self, val: Option<impl ToString>) -> Self
[src]
fn get_name(&self) -> Option<&str>
[src]
fn nonce(self, val: impl ToString) -> Self
[src]
fn try_nonce(self, val: Option<impl ToString>) -> Self
[src]
fn get_nonce(&self) -> Option<&str>
[src]
fn placeholder(self, val: impl ToString) -> Self
[src]
fn try_placeholder(self, val: Option<impl ToString>) -> Self
[src]
fn get_placeholder(&self) -> Option<&str>
[src]
fn poster(self, val: impl ToString) -> Self
[src]
fn try_poster(self, val: Option<impl ToString>) -> Self
[src]
fn get_poster(&self) -> Option<&str>
[src]
fn slot(self, val: impl ToString) -> Self
[src]
fn try_slot(self, val: Option<impl ToString>) -> Self
[src]
fn get_slot(&self) -> Option<&str>
[src]
fn src(self, val: impl ToString) -> Self
[src]
fn try_src(self, val: Option<impl ToString>) -> Self
[src]
fn get_src(&self) -> Option<&str>
[src]
fn src_doc(self, val: impl ToString) -> Self
[src]
fn try_src_doc(self, val: Option<impl ToString>) -> Self
[src]
fn get_src_doc(&self) -> Option<&str>
[src]
fn src_lang(self, val: impl ToString) -> Self
[src]
fn try_src_lang(self, val: Option<impl ToString>) -> Self
[src]
fn get_src_lang(&self) -> Option<&str>
[src]
fn src_set(self, val: impl ToString) -> Self
[src]
fn try_src_set(self, val: Option<impl ToString>) -> Self
[src]
fn get_src_set(&self) -> Option<&str>
[src]
fn title(self, val: impl ToString) -> Self
[src]
fn try_title(self, val: Option<impl ToString>) -> Self
[src]
fn get_title(&self) -> Option<&str>
[src]
fn use_map(self, val: impl ToString) -> Self
[src]
fn try_use_map(self, val: Option<impl ToString>) -> Self
[src]
fn get_use_map(&self) -> Option<&str>
[src]
fn value(self, val: impl ToString) -> Self
[src]
fn try_value(self, val: Option<impl ToString>) -> Self
[src]
fn get_value(&self) -> Option<&str>
[src]
fn step(self, val: impl ToString) -> Self
[src]
fn try_step(self, val: Option<impl ToString>) -> Self
[src]
fn get_step(&self) -> Option<&str>
[src]
fn target(self, val: impl ToString) -> Self
[src]
fn try_target(self, val: Option<impl ToString>) -> Self
[src]
fn get_target(&self) -> Option<&str>
[src]
fn translate(self, val: impl ToString) -> Self
[src]
fn try_translate(self, val: Option<impl ToString>) -> Self
[src]
fn get_translate(&self) -> Option<&str>
[src]
fn type_(self, val: impl ToString) -> Self
[src]
fn try_type_(self, val: Option<impl ToString>) -> Self
[src]
fn get_type_(&self) -> Option<&str>
[src]
fn wrap(self, val: impl ToString) -> Self
[src]
fn try_wrap(self, val: Option<impl ToString>) -> Self
[src]
fn get_wrap(&self) -> Option<&str>
[src]
fn cx(self, val: impl ToString) -> Self
[src]
fn try_cx(self, val: Option<impl ToString>) -> Self
[src]
fn get_cx(&self) -> Option<&str>
[src]
fn cy(self, val: impl ToString) -> Self
[src]
fn try_cy(self, val: Option<impl ToString>) -> Self
[src]
fn get_cy(&self) -> Option<&str>
[src]
fn r(self, val: impl ToString) -> Self
[src]
fn try_r(self, val: Option<impl ToString>) -> Self
[src]
fn get_r(&self) -> Option<&str>
[src]
fn rx(self, val: impl ToString) -> Self
[src]
fn try_rx(self, val: Option<impl ToString>) -> Self
[src]
fn get_rx(&self) -> Option<&str>
[src]
fn ry(self, val: impl ToString) -> Self
[src]
fn try_ry(self, val: Option<impl ToString>) -> Self
[src]
fn get_ry(&self) -> Option<&str>
[src]
fn x(self, val: impl ToString) -> Self
[src]
fn try_x(self, val: Option<impl ToString>) -> Self
[src]
fn get_x(&self) -> Option<&str>
[src]
fn y(self, val: impl ToString) -> Self
[src]
fn try_y(self, val: Option<impl ToString>) -> Self
[src]
fn get_y(&self) -> Option<&str>
[src]
fn view_box(self, val: impl ToString) -> Self
[src]
fn try_view_box(self, val: Option<impl ToString>) -> Self
[src]
fn get_view_box(&self) -> Option<&str>
[src]
fn max(self, val: impl ToString) -> Self
[src]
fn try_max(self, val: Option<impl ToString>) -> Self
[src]
fn get_max(&self) -> Option<&str>
[src]
fn method(self, val: impl ToString) -> Self
[src]
fn try_method(self, val: Option<impl ToString>) -> Self
[src]
fn get_method(&self) -> Option<&str>
[src]
fn min(self, val: impl ToString) -> Self
[src]
fn try_min(self, val: Option<impl ToString>) -> Self
[src]
fn get_min(&self) -> Option<&str>
[src]
fn pattern(self, val: impl ToString) -> Self
[src]
fn try_pattern(self, val: Option<impl ToString>) -> Self
[src]
fn get_pattern(&self) -> Option<&str>
[src]
fn preload(self, val: impl ToString) -> Self
[src]
fn try_preload(self, val: Option<impl ToString>) -> Self
[src]
fn get_preload(&self) -> Option<&str>
[src]
fn referrer_policy(self, val: impl ToString) -> Self
[src]
fn try_referrer_policy(self, val: Option<impl ToString>) -> Self
[src]
fn get_referrer_policy(&self) -> Option<&str>
[src]
fn rel(self, val: impl ToString) -> Self
[src]
fn try_rel(self, val: Option<impl ToString>) -> Self
[src]
fn get_rel(&self) -> Option<&str>
[src]
fn sandbox(self, val: impl ToString) -> Self
[src]
fn try_sandbox(self, val: Option<impl ToString>) -> Self
[src]
fn get_sandbox(&self) -> Option<&str>
[src]
fn scope(self, val: impl ToString) -> Self
[src]
fn try_scope(self, val: Option<impl ToString>) -> Self
[src]
fn get_scope(&self) -> Option<&str>
[src]
fn shape(self, val: impl ToString) -> Self
[src]
fn try_shape(self, val: Option<impl ToString>) -> Self
[src]
fn get_shape(&self) -> Option<&str>
[src]
fn kind(self, val: impl ToString) -> Self
[src]
fn try_kind(self, val: Option<impl ToString>) -> Self
[src]
fn get_kind(&self) -> Option<&str>
[src]
fn draggable(self, val: impl ToString) -> Self
[src]
fn try_draggable(self, val: Option<impl ToString>) -> Self
[src]
fn get_draggable(&self) -> Option<&str>
[src]
fn enc_type(self, val: impl ToString) -> Self
[src]
fn try_enc_type(self, val: Option<impl ToString>) -> Self
[src]
fn get_enc_type(&self) -> Option<&str>
[src]
fn enter_key_hint(self, val: impl ToString) -> Self
[src]
fn try_enter_key_hint(self, val: Option<impl ToString>) -> Self
[src]
fn get_enter_key_hint(&self) -> Option<&str>
[src]
fn form_enc_type(self, val: impl ToString) -> Self
[src]
fn try_form_enc_type(self, val: Option<impl ToString>) -> Self
[src]
fn get_form_enc_type(&self) -> Option<&str>
[src]
fn form_method(self, val: impl ToString) -> Self
[src]
fn try_form_method(self, val: Option<impl ToString>) -> Self
[src]
fn get_form_method(&self) -> Option<&str>
[src]
fn input_mode(self, val: impl ToString) -> Self
[src]
fn try_input_mode(self, val: Option<impl ToString>) -> Self
[src]
fn get_input_mode(&self) -> Option<&str>
[src]
fn decoding(self, val: impl ToString) -> Self
[src]
fn try_decoding(self, val: Option<impl ToString>) -> Self
[src]
fn get_decoding(&self) -> Option<&str>
[src]
fn loading(self, val: impl ToString) -> Self
[src]
fn try_loading(self, val: Option<impl ToString>) -> Self
[src]
fn get_loading(&self) -> Option<&str>
[src]
fn dir(self, val: impl ToString) -> Self
[src]
fn try_dir(self, val: Option<impl ToString>) -> Self
[src]
fn get_dir(&self) -> Option<&str>
[src]
fn coords(self, val: impl ToString) -> Self
[src]
fn try_coords(self, val: Option<impl ToString>) -> Self
[src]
fn get_coords(&self) -> Option<&str>
[src]
fn cross_origin(self, val: impl ToString) -> Self
[src]
fn try_cross_origin(self, val: Option<impl ToString>) -> Self
[src]
fn get_cross_origin(&self) -> Option<&str>
[src]
fn auto_capitalize(self, val: impl ToString) -> Self
[src]
fn try_auto_capitalize(self, val: Option<impl ToString>) -> Self
[src]
fn get_auto_capitalize(&self) -> Option<&str>
[src]
fn auto_complete(self, val: impl ToString) -> Self
[src]
fn try_auto_complete(self, val: Option<impl ToString>) -> Self
[src]
fn get_auto_complete(&self) -> Option<&str>
[src]
fn try_disabled(self, val: Option<bool>) -> Self
[src]
fn get_disabled(&self) -> Option<bool>
[src]
fn allow_full_screen(self, val: bool) -> Self
[src]
fn try_allow_full_screen(self, val: Option<bool>) -> Self
[src]
fn get_allow_full_screen(&self) -> Option<bool>
[src]
fn allow_payment_request(self, val: bool) -> Self
[src]
fn try_allow_payment_request(self, val: Option<bool>) -> Self
[src]
fn get_allow_payment_request(&self) -> Option<bool>
[src]
fn auto_focus(self, val: bool) -> Self
[src]
fn try_auto_focus(self, val: Option<bool>) -> Self
[src]
fn get_auto_focus(&self) -> Option<bool>
[src]
fn auto_play(self, val: bool) -> Self
[src]
fn try_auto_play(self, val: Option<bool>) -> Self
[src]
fn get_auto_play(&self) -> Option<bool>
[src]
fn checked(self, val: bool) -> Self
[src]
fn try_checked(self, val: Option<bool>) -> Self
[src]
fn get_checked(&self) -> Option<bool>
[src]
fn content_editable(self, val: bool) -> Self
[src]
fn try_content_editable(self, val: Option<bool>) -> Self
[src]
fn get_content_editable(&self) -> Option<bool>
[src]
fn controls(self, val: bool) -> Self
[src]
fn try_controls(self, val: Option<bool>) -> Self
[src]
fn get_controls(&self) -> Option<bool>
[src]
fn default(self, val: bool) -> Self
[src]
fn try_default(self, val: Option<bool>) -> Self
[src]
fn get_default(&self) -> Option<bool>
[src]
fn defer(self, val: bool) -> Self
[src]
fn try_defer(self, val: Option<bool>) -> Self
[src]
fn get_defer(&self) -> Option<bool>
[src]
fn form_no_validate(self, val: bool) -> Self
[src]
fn try_form_no_validate(self, val: Option<bool>) -> Self
[src]
fn get_form_no_validate(&self) -> Option<bool>
[src]
fn hidden(self, val: bool) -> Self
[src]
fn try_hidden(self, val: Option<bool>) -> Self
[src]
fn get_hidden(&self) -> Option<bool>
[src]
fn is_map(self, val: bool) -> Self
[src]
fn try_is_map(self, val: Option<bool>) -> Self
[src]
fn get_is_map(&self) -> Option<bool>
[src]
fn item_scope(self, val: bool) -> Self
[src]
fn try_item_scope(self, val: Option<bool>) -> Self
[src]
fn get_item_scope(&self) -> Option<bool>
[src]
fn loop_(self, val: bool) -> Self
[src]
fn try_loop_(self, val: Option<bool>) -> Self
[src]
fn get_loop_(&self) -> Option<bool>
[src]
fn multiple(self, val: bool) -> Self
[src]
fn try_multiple(self, val: Option<bool>) -> Self
[src]
fn get_multiple(&self) -> Option<bool>
[src]
fn muted(self, val: bool) -> Self
[src]
fn try_muted(self, val: Option<bool>) -> Self
[src]
fn get_muted(&self) -> Option<bool>
[src]
fn no_module(self, val: bool) -> Self
[src]
fn try_no_module(self, val: Option<bool>) -> Self
[src]
fn get_no_module(&self) -> Option<bool>
[src]
fn no_validate(self, val: bool) -> Self
[src]
fn try_no_validate(self, val: Option<bool>) -> Self
[src]
fn get_no_validate(&self) -> Option<bool>
[src]
fn open(self, val: bool) -> Self
[src]
fn try_open(self, val: Option<bool>) -> Self
[src]
fn get_open(&self) -> Option<bool>
[src]
fn plays_in_line(self, val: bool) -> Self
[src]
fn try_plays_in_line(self, val: Option<bool>) -> Self
[src]
fn get_plays_in_line(&self) -> Option<bool>
[src]
fn read_only(self, val: bool) -> Self
[src]
fn try_read_only(self, val: Option<bool>) -> Self
[src]
fn get_read_only(&self) -> Option<bool>
[src]
fn required(self, val: bool) -> Self
[src]
fn try_required(self, val: Option<bool>) -> Self
[src]
fn get_required(&self) -> Option<bool>
[src]
fn reversed(self, val: bool) -> Self
[src]
fn try_reversed(self, val: Option<bool>) -> Self
[src]
fn get_reversed(&self) -> Option<bool>
[src]
fn selected(self, val: bool) -> Self
[src]
fn try_selected(self, val: Option<bool>) -> Self
[src]
fn get_selected(&self) -> Option<bool>
[src]
fn spell_check(self, val: bool) -> Self
[src]
fn try_spell_check(self, val: Option<bool>) -> Self
[src]
fn get_spell_check(&self) -> Option<bool>
[src]
fn cols(self, val: u32) -> Self
[src]
fn try_cols(self, val: Option<u32>) -> Self
[src]
fn get_cols(&self) -> Option<u32>
[src]
fn col_span(self, val: u32) -> Self
[src]
fn try_col_span(self, val: Option<u32>) -> Self
[src]
fn get_col_span(&self) -> Option<u32>
[src]
fn height(self, val: u32) -> Self
[src]
fn try_height(self, val: Option<u32>) -> Self
[src]
fn get_height(&self) -> Option<u32>
[src]
fn rows(self, val: u32) -> Self
[src]
fn try_rows(self, val: Option<u32>) -> Self
[src]
fn get_rows(&self) -> Option<u32>
[src]
fn row_span(self, val: u32) -> Self
[src]
fn try_row_span(self, val: Option<u32>) -> Self
[src]
fn get_row_span(&self) -> Option<u32>
[src]
fn size(self, val: u32) -> Self
[src]
fn try_size(self, val: Option<u32>) -> Self
[src]
fn get_size(&self) -> Option<u32>
[src]
fn span(self, val: u32) -> Self
[src]
fn try_span(self, val: Option<u32>) -> Self
[src]
fn get_span(&self) -> Option<u32>
[src]
fn width(self, val: u32) -> Self
[src]
fn try_width(self, val: Option<u32>) -> Self
[src]
fn get_width(&self) -> Option<u32>
[src]
fn high(self, val: f32) -> Self
[src]
fn try_high(self, val: Option<f32>) -> Self
[src]
fn get_high(&self) -> Option<f32>
[src]
fn low(self, val: f32) -> Self
[src]
fn try_low(self, val: Option<f32>) -> Self
[src]
fn get_low(&self) -> Option<f32>
[src]
fn optimum(self, val: f32) -> Self
[src]
fn try_optimum(self, val: Option<f32>) -> Self
[src]
fn get_optimum(&self) -> Option<f32>
[src]
fn max_length(self, val: i32) -> Self
[src]
fn try_max_length(self, val: Option<i32>) -> Self
[src]
fn get_max_length(&self) -> Option<i32>
[src]
fn min_length(self, val: i32) -> Self
[src]
fn try_min_length(self, val: Option<i32>) -> Self
[src]
fn get_min_length(&self) -> Option<i32>
[src]
fn tab_index(self, val: i32) -> Self
[src]
fn try_tab_index(self, val: Option<i32>) -> Self
[src]
fn get_tab_index(&self) -> Option<i32>
[src]
fn start(self, val: i32) -> Self
[src]
fn try_start(self, val: Option<i32>) -> Self
[src]
fn get_start(&self) -> Option<i32>
[src]
impl<Ms> Clone for Node<Ms>
[src]
impl<Ms> Debug for Node<Ms> where
Ms: Debug,
[src]
Ms: Debug,
impl<Msg> DeclarativeConfig for Node<Msg>
[src]
fn config(self, block: impl FnOnce(Self) -> Self) -> Self
[src]
fn config_if(self, condition: bool, block: impl FnOnce(Self) -> Self) -> Self
[src]
fn config_if_else(
self,
condition: bool,
block: impl FnOnce(Self) -> Self,
else_block: impl FnOnce(Self) -> Self
) -> Self
[src]
self,
condition: bool,
block: impl FnOnce(Self) -> Self,
else_block: impl FnOnce(Self) -> Self
) -> Self
impl<Ms> Display for Node<Ms>
[src]
impl<Msg> ElRefExt for Node<Msg>
[src]
impl<Msg: 'static> EventsApi<Msg> for Node<Msg>
[src]
fn on_scroll<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_after_print<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_before_print<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_app_installed<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_seeked<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_seeking<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_play<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_playing<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_rate_change<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_can_play<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_can_play_through<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_reset<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_change<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_load<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_unload<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_abort<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_error<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_emptied<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_ended<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_full_screen_change<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_full_screen_error<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_invalid<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_offline<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_online<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_select_start<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_selectionchange<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_submit<EMsg: 'static>(
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(Event) -> EMsg + 'static + Clone
) -> Self
fn on_blur<EMsg: 'static>(
self,
handler: impl FnOnce(FocusEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(FocusEvent) -> EMsg + 'static + Clone
) -> Self
fn on_focus<EMsg: 'static>(
self,
handler: impl FnOnce(FocusEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(FocusEvent) -> EMsg + 'static + Clone
) -> Self
fn on_focus_in<EMsg: 'static>(
self,
handler: impl FnOnce(FocusEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(FocusEvent) -> EMsg + 'static + Clone
) -> Self
fn on_focus_out<EMsg: 'static>(
self,
handler: impl FnOnce(FocusEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(FocusEvent) -> EMsg + 'static + Clone
) -> Self
fn on_aux_click<EMsg: 'static>(
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
fn on_click<EMsg: 'static>(
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
fn on_double_click<EMsg: 'static>(
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
fn on_mouse_down<EMsg: 'static>(
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
fn on_mouse_enter<EMsg: 'static>(
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
fn on_mouse_leave<EMsg: 'static>(
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
fn on_mouse_move<EMsg: 'static>(
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
fn on_mouse_out<EMsg: 'static>(
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
fn on_mouse_over<EMsg: 'static>(
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
fn on_mouse_up<EMsg: 'static>(
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
fn on_context_menu<EMsg: 'static>(
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(MouseEvent) -> EMsg + 'static + Clone
) -> Self
fn on_pointer_cancel<EMsg: 'static>(
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
fn on_pointer_down<EMsg: 'static>(
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
fn on_pointer_enter<EMsg: 'static>(
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
fn on_pointer_leave<EMsg: 'static>(
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
fn on_pointer_move<EMsg: 'static>(
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
fn on_pointer_out<EMsg: 'static>(
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
fn on_pointer_over<EMsg: 'static>(
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
fn on_pointer_up<EMsg: 'static>(
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
fn on_lost_pointer_capture<EMsg: 'static>(
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
fn on_got_pointer_capture<EMsg: 'static>(
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(PointerEvent) -> EMsg + 'static + Clone
) -> Self
fn on_wheel<EMsg: 'static>(
self,
handler: impl FnOnce(WheelEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(WheelEvent) -> EMsg + 'static + Clone
) -> Self
fn on_before_input<EMsg: 'static>(
self,
handler: impl FnOnce(InputEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(InputEvent) -> EMsg + 'static + Clone
) -> Self
fn on_input<EMsg: 'static>(
self,
handler: impl FnOnce(InputEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(InputEvent) -> EMsg + 'static + Clone
) -> Self
fn on_key_down<EMsg: 'static>(
self,
handler: impl FnOnce(KeyboardEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(KeyboardEvent) -> EMsg + 'static + Clone
) -> Self
fn on_key_up<EMsg: 'static>(
self,
handler: impl FnOnce(KeyboardEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(KeyboardEvent) -> EMsg + 'static + Clone
) -> Self
fn on_composition_start<EMsg: 'static>(
self,
handler: impl FnOnce(CompositionEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(CompositionEvent) -> EMsg + 'static + Clone
) -> Self
fn on_composition_update<EMsg: 'static>(
self,
handler: impl FnOnce(CompositionEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(CompositionEvent) -> EMsg + 'static + Clone
) -> Self
fn on_composition_end<EMsg: 'static>(
self,
handler: impl FnOnce(CompositionEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(CompositionEvent) -> EMsg + 'static + Clone
) -> Self
fn on_drag<EMsg: 'static>(
self,
handler: impl FnOnce(DragEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(DragEvent) -> EMsg + 'static + Clone
) -> Self
fn on_drag_end<EMsg: 'static>(
self,
handler: impl FnOnce(DragEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(DragEvent) -> EMsg + 'static + Clone
) -> Self
fn on_drag_enter<EMsg: 'static>(
self,
handler: impl FnOnce(DragEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(DragEvent) -> EMsg + 'static + Clone
) -> Self
fn on_drag_leave<EMsg: 'static>(
self,
handler: impl FnOnce(DragEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(DragEvent) -> EMsg + 'static + Clone
) -> Self
fn on_drag_over<EMsg: 'static>(
self,
handler: impl FnOnce(DragEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(DragEvent) -> EMsg + 'static + Clone
) -> Self
fn on_drag_start<EMsg: 'static>(
self,
handler: impl FnOnce(DragEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(DragEvent) -> EMsg + 'static + Clone
) -> Self
fn on_drop<EMsg: 'static>(
self,
handler: impl FnOnce(DragEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(DragEvent) -> EMsg + 'static + Clone
) -> Self
fn on_resize<EMsg: 'static>(
self,
handler: impl FnOnce(UiEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(UiEvent) -> EMsg + 'static + Clone
) -> Self
fn on_select<EMsg: 'static>(
self,
handler: impl FnOnce(UiEvent) -> EMsg + 'static + Clone
) -> Self
[src]
self,
handler: impl FnOnce(UiEvent) -> EMsg + 'static + Clone
) -> Self
impl<'_, Ms> From<&'_ Element> for Node<Ms>
[src]
impl<Ms> IntoNodes<Ms> for Node<Ms>
[src]
pub fn into_nodes(self) -> Vec<Node<Ms>, Global>
[src]
impl<Msg> LookupApi<Msg> for Node<Msg>
[src]
fn for_class<'a>(
self,
class: impl IntoIterator<Item = &'a str>,
f: impl Fn(Self) -> Self + Copy
) -> Self
[src]
self,
class: impl IntoIterator<Item = &'a str>,
f: impl Fn(Self) -> Self + Copy
) -> Self
fn for_id(self, id: impl ToString, f: impl Fn(Self) -> Self + Copy) -> Self
[src]
impl<Ms, OtherMs> MessageMapper<Ms, OtherMs> for Node<Ms> where
Ms: 'static,
OtherMs: 'static,
[src]
Ms: 'static,
OtherMs: 'static,
type SelfWithOtherMs = Node<OtherMs>
pub fn map_msg(
self,
f: impl Clone + FnOnce(Ms) -> OtherMs + 'static
) -> Node<OtherMs>
[src]
self,
f: impl Clone + FnOnce(Ms) -> OtherMs + 'static
) -> Node<OtherMs>
See note on impl for El
impl<Msg> PushOwned<&'static str> for Node<Msg>
[src]
fn push(self, val: &'static str) -> Self
[src]
fn try_push(self, val: Option<T>) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<Msg> PushOwned<Cow<'static, str>> for Node<Msg>
[src]
fn push(self, val: Cow<'static, str>) -> Self
[src]
fn try_push(self, val: Option<T>) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<Msg> PushOwned<Node<Msg>> for El<Msg>
[src]
fn push(self, val: Node<Msg>) -> Self
[src]
fn try_push(self, val: Option<T>) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<Msg> PushOwned<Node<Msg>> for Node<Msg>
[src]
fn push(self, val: Node<Msg>) -> Self
[src]
fn try_push(self, val: Option<T>) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<Msg> PushOwned<String> for Node<Msg>
[src]
fn push(self, val: String) -> Self
[src]
fn try_push(self, val: Option<T>) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<Msg> PushOwned<Vec<Node<Msg>, Global>> for Node<Msg>
[src]
fn push(self, val: Vec<Node<Msg>>) -> Self
[src]
fn try_push(self, val: Option<T>) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<Msg> SetOwned<&'static str> for Node<Msg>
[src]
fn set(self, val: &'static str) -> Self
[src]
fn try_set(self, val: Option<T>) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<Msg> SetOwned<Cow<'static, str>> for Node<Msg>
[src]
fn set(self, val: Cow<'static, str>) -> Self
[src]
fn try_set(self, val: Option<T>) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<Msg> SetOwned<Node<Msg>> for El<Msg>
[src]
fn set(self, val: Node<Msg>) -> Self
[src]
fn try_set(self, val: Option<T>) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<Msg> SetOwned<Node<Msg>> for Node<Msg>
[src]
fn set(self, val: Node<Msg>) -> Self
[src]
fn try_set(self, val: Option<T>) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<Msg> SetOwned<String> for Node<Msg>
[src]
fn set(self, val: String) -> Self
[src]
fn try_set(self, val: Option<T>) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<Msg> SetOwned<Vec<Node<Msg>, Global>> for Node<Msg>
[src]
fn set(self, val: Vec<Node<Msg>>) -> Self
[src]
fn try_set(self, val: Option<T>) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<Ms> UpdateEl<Ms> for Node<Ms>
[src]
impl<Ms> View<Ms> for Node<Ms>
[src]
impl<Msg> View<Node<Msg>> for String
[src]
impl<Msg> View<Node<Msg>> for &'static str
[src]
impl<Msg> View<Node<Msg>> for Cow<'static, str>
[src]
Auto Trait Implementations
impl<Ms> !RefUnwindSafe for Node<Ms>
impl<Ms> !Send for Node<Ms>
impl<Ms> !Sync for Node<Ms>
impl<Ms> Unpin for Node<Ms>
impl<Ms> !UnwindSafe for Node<Ms>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,