[][src]Struct nuki::Context

pub struct Context { /* fields omitted */ }

Implementations

impl Context[src]

pub fn new(alloc: &Allocator, font: &UserFont) -> Context[src]

pub fn clip_mut(&mut self) -> &mut Clipboard[src]

pub fn clip(&self) -> &Clipboard[src]

pub fn last_widget_state(&self) -> Flags[src]

pub fn delta_time_seconds(&self) -> f32[src]

pub fn button_behavior(&self) -> ButtonBehavior[src]

pub fn set_button_behavior(&mut self, bb: ButtonBehavior)[src]

pub fn input_mut(&mut self) -> &mut Input[src]

pub fn style_mut(&mut self) -> &mut Style[src]

pub fn draw_list_mut(&mut self) -> &mut DrawList[src]

pub fn input(&self) -> &Input[src]

pub fn style(&self) -> &Style[src]

pub fn draw_list(&self) -> &DrawList[src]

pub fn clear(&mut self)[src]

pub fn begin(&mut self, title: String<'_>, bounds: Rect, flags: Flags) -> bool[src]

pub fn begin_titled(
    &mut self,
    name: String<'_>,
    title: String<'_>,
    bounds: Rect,
    flags: Flags
) -> i32
[src]

pub fn end(&mut self)[src]

pub fn window_find<S: AsRef<str>>(&self, name: S) -> Option<&Window>[src]

pub fn window_find_mut(&mut self, name: String<'_>) -> Option<&mut Window>[src]

pub fn window_get_bounds(&self) -> Rect[src]

pub fn window_get_size(&self) -> Vec2[src]

pub fn window_get_position(&self) -> Vec2[src]

pub fn window_get_width(&self) -> f32[src]

pub fn window_get_height(&self) -> f32[src]

pub fn window_get_panel_mut(&mut self) -> Option<&mut Panel>[src]

pub fn window_get_panel(&self) -> Option<&Panel>[src]

pub fn window_get_content_region(&self) -> Rect[src]

pub fn window_get_content_region_min(&self) -> Vec2[src]

pub fn window_get_content_region_max(&self) -> Vec2[src]

pub fn window_get_content_region_size(&self) -> Vec2[src]

pub fn window_get_canvas_mut(&mut self) -> Option<&mut CommandBuffer>[src]

pub fn window_get_canvas(&self) -> Option<&CommandBuffer>[src]

pub fn window_get_scroll(&self) -> (u32, u32)[src]

pub fn window_has_focus(&self) -> bool[src]

pub fn window_is_collapsed(&self, name: String<'_>) -> bool[src]

pub fn window_is_closed(&self, name: String<'_>) -> bool[src]

pub fn window_is_hidden(&self, name: String<'_>) -> bool[src]

pub fn window_is_active(&self, name: String<'_>) -> bool[src]

pub fn window_is_hovered(&self) -> bool[src]

pub fn window_is_any_hovered(&self) -> bool[src]

pub fn item_is_any_active(&self) -> bool[src]

pub fn window_set_bounds<S: AsRef<str>>(&mut self, name: S, bounds: Rect)[src]

pub fn window_set_position<S: AsRef<str>>(&mut self, name: S, pos: Vec2)[src]

pub fn window_set_size<S: AsRef<str>>(&mut self, name: S, size: Vec2)[src]

pub fn window_set_focus(&mut self, name: String<'_>)[src]

pub fn window_set_scroll(&mut self, x: u32, y: u32)[src]

pub fn window_close(&mut self, name: String<'_>)[src]

pub fn window_collapse(&mut self, name: String<'_>, state: CollapseState)[src]

pub fn window_collapse_if(
    &mut self,
    name: String<'_>,
    state: CollapseState,
    cond: bool
)
[src]

pub fn window_show(&mut self, name: String<'_>, state: ShowState)[src]

pub fn window_show_if(&mut self, name: String<'_>, state: ShowState, cond: bool)[src]

pub fn layout_row_dynamic(&mut self, height: f32, cols: i32)[src]

pub fn layout_row_static(&mut self, height: f32, item_width: i32, cols: i32)[src]

pub fn layout_row_begin(
    &mut self,
    fmt: LayoutFormat,
    row_height: f32,
    cols: i32
)
[src]

pub fn layout_row_push(&mut self, value: f32)[src]

pub fn layout_row_end(&mut self)[src]

pub fn layout_row(&mut self, fmt: LayoutFormat, height: f32, cols_ratio: &[f32])[src]

pub fn layout_row_colored(
    &mut self,
    fmt: LayoutFormat,
    height: f32,
    cols_ratio: &[f32],
    color: Color
)
[src]

pub fn layout_space_begin(
    &mut self,
    fmt: LayoutFormat,
    height: f32,
    widget_count: i32
)
[src]

pub fn layout_space_colored_begin(
    &mut self,
    fmt: LayoutFormat,
    height: f32,
    widget_count: i32,
    color: Color
)
[src]

pub fn layout_space_push(&mut self, space: Rect)[src]

pub fn layout_space_end(&mut self)[src]

pub fn layout_space_bounds(&mut self) -> Rect[src]

pub fn layout_space_to_screen(&mut self, space: Vec2) -> Vec2[src]

pub fn layout_space_to_local(&mut self, space: Vec2) -> Vec2[src]

pub fn layout_space_rect_to_screen(&mut self, space: Rect) -> Rect[src]

pub fn layout_space_rect_to_local(&mut self, space: Rect) -> Rect[src]

pub fn layout_ratio_from_pixel(&mut self, pixel_width: f32) -> f32[src]

pub fn group_begin(&mut self, title: String<'_>, flags: Flags) -> i32[src]

pub fn group_end(&mut self)[src]

pub fn tree_push_hashed(
    &mut self,
    ty: TreeType,
    title: String<'_>,
    initial_state: CollapseState,
    hash: String<'_>,
    len: i32,
    seed: i32
) -> i32
[src]

pub fn tree_image_push_hashed(
    &mut self,
    ty: TreeType,
    i: Image,
    title: String<'_>,
    initial_state: CollapseState,
    hash: String<'_>,
    len: i32,
    seed: i32
) -> i32
[src]

pub fn tree_pop(&mut self)[src]

pub fn text(&mut self, text: &str, flags: Flags)[src]

pub fn text_colored(&mut self, text: &str, flags: Flags, color: Color)[src]

pub fn text_wrap(&mut self, text: &str)[src]

pub fn text_wrap_colored(&mut self, text: &str, color: Color)[src]

pub fn label(&mut self, text: String<'_>, flags: Flags)[src]

pub fn label_colored(&mut self, text: String<'_>, flags: Flags, color: Color)[src]

pub fn label_wrap(&mut self, text: String<'_>)[src]

pub fn label_colored_wrap(&mut self, text: String<'_>, color: Color)[src]

pub fn image(&mut self, img: Image)[src]

pub fn button_text(&mut self, text: &str) -> bool[src]

pub fn button_label(&mut self, title: String<'_>) -> bool[src]

pub fn button_color(&mut self, color: Color) -> bool[src]

pub fn button_symbol(&mut self, ty: SymbolType) -> bool[src]

pub fn button_image(&mut self, img: Image) -> bool[src]

pub fn button_symbol_label(
    &mut self,
    ty: SymbolType,
    title: String<'_>,
    text_alignment: Flags
) -> bool
[src]

pub fn button_symbol_text(
    &mut self,
    ty: SymbolType,
    title: &str,
    text_alignment: Flags
) -> bool
[src]

pub fn button_image_label(
    &mut self,
    img: Image,
    title: String<'_>,
    text_alignment: Flags
) -> bool
[src]

pub fn button_image_text(
    &mut self,
    img: Image,
    title: &str,
    text_alignment: Flags
) -> bool
[src]

pub fn button_text_styled(&mut self, style: &StyleButton, text: &str) -> bool[src]

pub fn button_label_styled(
    &mut self,
    style: &StyleButton,
    title: String<'_>
) -> bool
[src]

pub fn button_symbol_styled(
    &mut self,
    style: &StyleButton,
    ty: SymbolType
) -> bool
[src]

pub fn button_image_styled(&mut self, style: &StyleButton, img: Image) -> bool[src]

pub fn button_symbol_text_styled(
    &mut self,
    style: &StyleButton,
    ty: SymbolType,
    title: &str,
    text_alignment: Flags
) -> bool
[src]

pub fn button_symbol_label_styled(
    &mut self,
    style: &StyleButton,
    ty: SymbolType,
    title: String<'_>,
    text_alignment: Flags
) -> bool
[src]

pub fn button_image_label_styled(
    &mut self,
    style: &StyleButton,
    img: Image,
    title: String<'_>,
    text_alignment: Flags
) -> bool
[src]

pub fn button_image_text_styled(
    &mut self,
    style: &StyleButton,
    img: Image,
    title: &str,
    text_alignment: Flags
) -> bool
[src]

pub fn button_set_behavior(&mut self, b: ButtonBehavior)[src]

pub fn button_push_behavior(&mut self, b: ButtonBehavior) -> i32[src]

pub fn button_pop_behavior(&mut self) -> i32[src]

pub fn check_label(&mut self, title: String<'_>, active: bool) -> i32[src]

pub fn check_text(&mut self, title: &str, active: bool) -> i32[src]

pub fn check_flags_label(
    &mut self,
    title: String<'_>,
    flags: u32,
    value: u32
) -> u32
[src]

pub fn check_flags_text(&mut self, title: &str, flags: u32, value: u32) -> u32[src]

pub fn checkbox_label(&mut self, title: String<'_>, active: &mut bool) -> bool[src]

pub fn checkbox_text(&mut self, title: &str, active: &mut bool) -> bool[src]

pub fn checkbox_flags_label(
    &mut self,
    title: String<'_>,
    flags: &mut u32,
    value: u32
) -> bool
[src]

pub fn checkbox_flags_text(
    &mut self,
    title: &str,
    flags: &mut u32,
    value: u32
) -> bool
[src]

pub fn radio_label(&mut self, title: String<'_>, active: &mut bool) -> bool[src]

pub fn radio_text(&mut self, title: &str, active: &mut bool) -> bool[src]

pub fn option_label(&mut self, title: String<'_>, active: bool) -> bool[src]

pub fn option_text(&mut self, title: &str, active: bool) -> bool[src]

pub fn selectable_label(
    &mut self,
    title: String<'_>,
    align: Flags,
    value: &mut i32
) -> bool
[src]

pub fn selectable_text(
    &mut self,
    title: &str,
    align: Flags,
    value: &mut i32
) -> bool
[src]

pub fn selectable_image_label(
    &mut self,
    img: Image,
    title: String<'_>,
    align: Flags,
    value: &mut i32
) -> bool
[src]

pub fn selectable_image_text(
    &mut self,
    img: Image,
    title: &str,
    align: Flags,
    value: &mut i32
) -> bool
[src]

pub fn select_label(
    &mut self,
    title: String<'_>,
    align: Flags,
    value: i32
) -> i32
[src]

pub fn select_text(&mut self, title: &str, align: Flags, value: i32) -> i32[src]

pub fn select_image_label(
    &mut self,
    img: Image,
    title: String<'_>,
    align: Flags,
    value: i32
) -> i32
[src]

pub fn select_image_text(
    &mut self,
    img: Image,
    title: &str,
    align: Flags,
    value: i32
) -> i32
[src]

pub fn slide_float(&mut self, min: f32, val: f32, max: f32, step: f32) -> f32[src]

pub fn slide_int(&mut self, min: i32, val: i32, max: i32, step: i32) -> i32[src]

pub fn slider_float(
    &mut self,
    min: f32,
    val: &mut f32,
    max: f32,
    step: f32
) -> bool
[src]

pub fn slider_int(
    &mut self,
    min: i32,
    val: &mut i32,
    max: i32,
    step: i32
) -> bool
[src]

pub fn progress(
    &mut self,
    cur: &mut Size,
    max: Size,
    is_modifyable: bool
) -> bool
[src]

pub fn prog(&mut self, cur: Size, max: Size, is_modifyable: bool) -> usize[src]

pub fn color_picker(&mut self, color: ColorF, fmt: ColorFormat) -> ColorF[src]

pub fn color_pick(&mut self, fmt: ColorFormat) -> (bool, ColorF)[src]

pub fn property_int(
    &mut self,
    name: String<'_>,
    min: i32,
    val: &mut i32,
    max: i32,
    step: i32,
    inc_per_pixel: f32
)
[src]

pub fn property_float(
    &mut self,
    name: String<'_>,
    min: f32,
    val: &mut f32,
    max: f32,
    step: f32,
    inc_per_pixel: f32
)
[src]

pub fn property_double(
    &mut self,
    name: String<'_>,
    min: f64,
    val: &mut f64,
    max: f64,
    step: f64,
    inc_per_pixel: f32
)
[src]

pub fn propertyi(
    &mut self,
    name: String<'_>,
    min: i32,
    val: i32,
    max: i32,
    step: i32,
    inc_per_pixel: f32
) -> i32
[src]

pub fn propertyf(
    &mut self,
    name: String<'_>,
    min: f32,
    val: f32,
    max: f32,
    step: f32,
    inc_per_pixel: f32
) -> f32
[src]

pub fn propertyd(
    &mut self,
    name: String<'_>,
    min: f64,
    val: f64,
    max: f64,
    step: f64,
    inc_per_pixel: f32
) -> f64
[src]

pub fn edit_string_custom_filter(
    &mut self,
    flags: Flags,
    buffer: &mut [u8],
    len: &mut i32,
    filter: fn(_: &TextEdit, _: char) -> bool
) -> Flags
[src]

pub fn edit_string(
    &mut self,
    flags: Flags,
    buffer: &mut [u8],
    len: &mut i32,
    filter: PluginFilter
) -> Flags
[src]

pub fn edit_buffer(
    &mut self,
    flags: Flags,
    editor: &mut TextEdit,
    filter: PluginFilter
) -> Flags
[src]

pub fn chart_begin(
    &mut self,
    ty: ChartType,
    num: i32,
    min: f32,
    max: f32
) -> bool
[src]

pub fn chart_begin_colored(
    &mut self,
    ty: ChartType,
    color: Color,
    active: Color,
    num: i32,
    min: f32,
    max: f32
) -> bool
[src]

pub fn chart_add_slot(
    &mut self,
    ty: ChartType,
    count: i32,
    min_value: f32,
    max_value: f32
)
[src]

pub fn chart_add_slot_colored(
    &mut self,
    ty: ChartType,
    color: Color,
    active: Color,
    count: i32,
    min_value: f32,
    max_value: f32
)
[src]

pub fn chart_push(&mut self, value: f32) -> Flags[src]

pub fn chart_push_slot(&mut self, value: f32, count: i32) -> Flags[src]

pub fn chart_end(&mut self)[src]

pub fn plot(&mut self, ty: ChartType, values: &[f32])[src]

pub fn popup_begin(
    &mut self,
    ty: PopupType,
    title: String<'_>,
    flags: Flags,
    bounds: Rect
) -> bool
[src]

pub fn popup_close(&mut self)[src]

pub fn popup_end(&mut self)[src]

pub fn popup_get_scroll(
    &mut self,
    offset_x: &mut nk_uint,
    offset_y: &mut nk_uint
)
[src]

pub fn popup_set_scroll(&mut self, offset_x: nk_uint, offset_y: nk_uint)[src]

pub fn combo(
    &mut self,
    items: &mut StringArray<'_>,
    selected: i32,
    item_height: i32,
    size: Vec2
) -> i32
[src]

pub fn combo_separator(
    &mut self,
    items_separated_by_separator: String<'_>,
    separator: char,
    selected: i32,
    item_height: i32,
    size: Vec2
) -> i32
[src]

pub fn combo_begin_label(&mut self, selected: String<'_>, size: Vec2) -> bool[src]

pub fn combo_begin_text(&mut self, selected: &str, size: Vec2) -> bool[src]

pub fn combo_begin_color(&mut self, color: Color, size: Vec2) -> bool[src]

pub fn combo_begin_symbol(&mut self, sym: SymbolType, size: Vec2) -> bool[src]

pub fn combo_begin_symbol_label(
    &mut self,
    label: String<'_>,
    sym: SymbolType,
    size: Vec2
) -> bool
[src]

pub fn combo_begin_symbol_text(
    &mut self,
    label: &str,
    sym: SymbolType,
    size: Vec2
) -> bool
[src]

pub fn combo_begin_image(&mut self, img: Image, size: Vec2) -> bool[src]

pub fn combo_begin_image_label(
    &mut self,
    label: String<'_>,
    img: Image,
    size: Vec2
) -> bool
[src]

pub fn combo_begin_image_text(
    &mut self,
    label: &str,
    img: Image,
    size: Vec2
) -> bool
[src]

pub fn combo_item_label(&mut self, label: String<'_>, alignment: Flags) -> bool[src]

pub fn combo_item_text(&mut self, label: &str, alignment: Flags) -> bool[src]

pub fn combo_item_image_label(
    &mut self,
    img: Image,
    label: String<'_>,
    alignment: Flags
) -> bool
[src]

pub fn combo_item_image_text(
    &mut self,
    img: Image,
    label: &str,
    alignment: Flags
) -> bool
[src]

pub fn combo_item_symbol_label(
    &mut self,
    sym: SymbolType,
    label: String<'_>,
    alignment: Flags
) -> bool
[src]

pub fn combo_item_symbol_text(
    &mut self,
    sym: SymbolType,
    label: &str,
    alignment: Flags
) -> bool
[src]

pub fn combo_close(&mut self)[src]

pub fn combo_end(&mut self)[src]

pub fn contextual_begin(
    &mut self,
    flags: Flags,
    bounds: Vec2,
    trigger_bounds: Rect
) -> bool
[src]

pub fn contextual_item_label(&mut self, label: String<'_>, align: Flags) -> bool[src]

pub fn contextual_item_text(&mut self, label: &str, align: Flags) -> bool[src]

pub fn contextual_item_image_label(
    &mut self,
    img: Image,
    label: String<'_>,
    align: Flags
) -> bool
[src]

pub fn contextual_item_image_text(
    &mut self,
    img: Image,
    label: &str,
    align: Flags
) -> bool
[src]

pub fn contextual_item_symbol_label(
    &mut self,
    sym: SymbolType,
    label: String<'_>,
    align: Flags
) -> bool
[src]

pub fn contextual_item_symbol_text(
    &mut self,
    sym: SymbolType,
    label: &str,
    align: Flags
) -> bool
[src]

pub fn contextual_close(&mut self)[src]

pub fn contextual_end(&mut self)[src]

pub fn tooltip(&mut self, text: String<'_>)[src]

pub fn tooltip_begin(&mut self, width: f32) -> bool[src]

pub fn tooltip_end(&mut self)[src]

pub fn menubar_begin(&mut self)[src]

pub fn menubar_end(&mut self)[src]

pub fn menu_begin_label(
    &mut self,
    title: String<'_>,
    align: Flags,
    size: Vec2
) -> bool
[src]

pub fn menu_begin_text(&mut self, title: &str, align: Flags, size: Vec2) -> bool[src]

pub fn menu_begin_image(
    &mut self,
    title: String<'_>,
    img: Image,
    size: Vec2
) -> bool
[src]

pub fn menu_begin_image_label(
    &mut self,
    title: String<'_>,
    align: Flags,
    img: Image,
    size: Vec2
) -> bool
[src]

pub fn menu_begin_image_text(
    &mut self,
    title: &str,
    align: Flags,
    img: Image,
    size: Vec2
) -> bool
[src]

pub fn menu_begin_symbol(
    &mut self,
    title: String<'_>,
    sym: SymbolType,
    size: Vec2
) -> bool
[src]

pub fn menu_begin_symbol_label(
    &mut self,
    title: String<'_>,
    align: Flags,
    sym: SymbolType,
    size: Vec2
) -> bool
[src]

pub fn menu_begin_symbol_text(
    &mut self,
    title: &str,
    align: Flags,
    sym: SymbolType,
    size: Vec2
) -> bool
[src]

pub fn menu_item_label(&mut self, title: String<'_>, align: Flags) -> bool[src]

pub fn menu_item_text(&mut self, title: &str, align: Flags) -> bool[src]

pub fn menu_item_image_label(
    &mut self,
    img: Image,
    title: String<'_>,
    align: Flags
) -> bool
[src]

pub fn menu_item_image_text(
    &mut self,
    img: Image,
    title: &str,
    align: Flags
) -> bool
[src]

pub fn menu_item_symbol_label(
    &mut self,
    sym: SymbolType,
    title: String<'_>,
    align: Flags
) -> bool
[src]

pub fn menu_item_symbol_text(
    &mut self,
    sym: SymbolType,
    title: &str,
    align: Flags
) -> bool
[src]

pub fn menu_close(&mut self)[src]

pub fn menu_end(&mut self)[src]

pub fn convert(
    &mut self,
    cmds: &mut Buffer,
    vertices: &mut Buffer,
    elements: &mut Buffer,
    config: &ConvertConfig
)
[src]

pub fn input_begin(&mut self)[src]

pub fn input_motion(&mut self, x: i32, y: i32)[src]

pub fn input_key(&mut self, key: Key, down: bool)[src]

pub fn input_button(&mut self, b: Button, x: i32, y: i32, down: bool)[src]

pub fn input_scroll(&mut self, y: Vec2)[src]

pub fn input_char(&mut self, c: u8)[src]

pub fn input_glyph(&mut self, g: Glyph)[src]

pub fn input_unicode(&mut self, r: char)[src]

pub fn input_end(&mut self)[src]

pub fn style_default(&mut self)[src]

pub fn style_from_table(&mut self, table: &ColorMap)[src]

pub fn style_load_cursor(&mut self, cur: StyleCursor, res: &Cursor)[src]

pub fn style_load_all_cursors(&mut self, table: &mut CursorMap<'_>)[src]

pub fn style_set_font(&mut self, font: &UserFont)[src]

pub fn style_set_cursor(&mut self, cur: StyleCursor) -> bool[src]

pub fn style_show_cursor(&mut self)[src]

pub fn style_hide_cursor(&mut self)[src]

pub fn style_push_font(&mut self, font: &mut UserFont) -> bool[src]

pub fn style_push_float(&mut self, addr: &mut f32, val: f32) -> bool[src]

pub fn style_push_vec2(&mut self, addr: &mut Vec2, val: Vec2) -> bool[src]

pub fn style_push_style_item(
    &mut self,
    addr: &mut StyleItem,
    val: StyleItem
) -> bool
[src]

pub fn style_push_flags(&mut self, addr: &mut Flags, val: Flags) -> bool[src]

pub fn style_push_color(&mut self, addr: &mut Color, val: Color) -> bool[src]

pub fn style_pop_font(&mut self) -> bool[src]

pub fn style_pop_float(&mut self) -> bool[src]

pub fn style_pop_vec2(&mut self) -> bool[src]

pub fn style_pop_style_item(&mut self) -> bool[src]

pub fn style_pop_flags(&mut self) -> bool[src]

pub fn style_pop_color(&mut self) -> bool[src]

pub fn widget_bounds(&mut self) -> Rect[src]

pub fn widget_position(&mut self) -> Vec2[src]

pub fn widget_size(&mut self) -> Vec2[src]

pub fn widget_width(&mut self) -> f32[src]

pub fn widget_height(&mut self) -> f32[src]

pub fn widget_is_hovered(&mut self) -> bool[src]

pub fn widget_is_mouse_clicked(&mut self, b: Button) -> bool[src]

pub fn widget_has_mouse_click_down(&mut self, b: Button, down: bool) -> bool[src]

pub fn widget(&self, arg1: &mut Rect) -> WidgetLayoutState[src]

pub fn spacing(&mut self, cols: i32)[src]

pub fn draw_begin(&self, buf: &Buffer) -> Option<&DrawCommand>[src]

pub fn draw_next<'a>(
    &self,
    prev: &DrawCommand,
    buf: &Buffer
) -> Option<&'a DrawCommand>
[src]

pub fn next_cmd<'a, 'b>(&self, arg2: &'b Command) -> Option<&'a Command>[src]

pub fn begin_cmd(&self) -> Option<&Command>[src]

pub fn draw_command_iterator<'a>(
    &'a mut self,
    buf: &'a Buffer
) -> DrawCommandIterator<'a>
[src]

pub fn command_iterator(&mut self) -> CommandIterator<'_>[src]

Trait Implementations

impl Debug for Context[src]

impl Default for Context[src]

impl Drop for Context[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.