Struct tk::error::Obj

source ·
pub struct Obj(/* private fields */);
Expand description

A smart pointer that points to a referece-counted, heap-allocated Tcl value.

Implementations§

source§

impl Obj

source

pub fn new() -> Obj

Creates a new, empty Obj on heap, with reference count 1.

source

pub unsafe fn from_raw(tcl_obj: *mut Tcl_Obj) -> Obj

Constructs an Obj from a raw pointer.

Safety

The raw pointer should be provided by Tcl’s callback, or previously obtained by Obj::as_ptr().

source

pub fn as_ptr(&self) -> *mut Tcl_Obj

Provides a raw pointer to the obj.

source

pub fn into_raw(self) -> *mut Tcl_Obj

Consumes the obj, returning the raw pointer. To avoid a memory leak the pointer must be converted back to an Obj using Obj::from_raw.

source

pub fn get_string(&self) -> String

Return an obj’s string representation. If the value’s MUTF string representation is invalid, the string representation is regenerated from the value’s internal representation.

source

pub fn invalidate_string_rep(&self)

Marks an obj’s string representation invalid and to free any storage associated with the old string representation.

source

pub fn is_empty(&self) -> bool

Test if tcl::Obj has no value. A newly created Obj is guaranteed to be dummy. An empty string is considered to be dummy.

Example
assert!( tcl::Obj::new().is_empty() );
assert!( tcl::Obj::from("").is_empty() );
assert!( !tcl::Obj::from("hello").is_empty() );
source

pub fn is_shared(&self) -> bool

Checks if the reference count of this obj is greater than 1.

source

pub fn clone_value(&self) -> Option<Obj>

Clones the underlying value of this obj.

source§

impl Obj

source

pub fn as_bool(&self) -> bool

Returns a bool value of this obj. The values 0, “0”, false, “false”( case insensitive ) is considered as false. The values 1, “1”, true, “true”( case insensitive ) is considered as true. Other values will panic.

source§

impl Obj

source

pub fn as_i8(&self) -> i8

source§

impl Obj

source

pub fn as_i16(&self) -> i16

source§

impl Obj

source

pub fn as_i32(&self) -> i32

source§

impl Obj

source

pub fn as_i64(&self) -> i64

source§

impl Obj

source

pub fn as_isize(&self) -> isize

source§

impl Obj

source

pub fn as_u8(&self) -> u8

source§

impl Obj

source

pub fn as_u16(&self) -> u16

source§

impl Obj

source

pub fn as_u32(&self) -> u32

source§

impl Obj

source

pub fn as_usize(&self) -> usize

source§

impl Obj

source

pub fn as_f32(&self) -> f32

source§

impl Obj

source

pub fn as_f64(&self) -> f64

source§

impl Obj

source

pub fn new_dict() -> Obj

Creates a new, empty dictionary value.

Examples
use tcl::*;

let dict = Obj::new_dict();
assert_eq!( dict.to_string(), "" );
source

pub fn dict_get(&self, key: impl Into<Obj>) -> Result<Option<Obj>, NotDict>

Looks up the given key within the given dictionary and returns the value associated with that key, or None if the key has no mapping within the dictionary. An error of NotDict occurs if it cannot be converted to a dictionary.

Examples
use std::collections::HashMap;
use tcl::*;

let mut map = HashMap::new();
map.insert( "C"   , 1972 );
map.insert( "C++" , 1983 );
map.insert( "Rust", 2006 );

let map = Obj::from( map );
assert!( map.dict_get("Cpp").unwrap().is_none() );
assert_eq!( map.dict_get("Rust").unwrap().unwrap().as_i32(), 2006 );
source

pub fn dict_put( &self, key: impl Into<Obj>, value: impl Into<Obj> ) -> Result<(), Enum2<MutateSharedDict, NotDict>>

Updates the given dictionary so that the given key maps to the given value; any key may exist at most once in any particular dictionary. The dictionary must not be shared, or an error of MutateSharedDict will occur. An error of NotDict occurs if it cannot be converted to a dictionary.

Examples
use std::collections::HashMap;
use tcl::*;

let dict = Obj::new_dict();
assert_eq!( dict.to_string(), "" );

dict.dict_put( "Rust", 2006 );
assert_eq!( dict.to_string(), "Rust 2006" );
source

pub fn dict_remove( &self, key: impl Into<Obj> ) -> Result<(), Enum2<MutateSharedDict, NotDict>>

Updates the given dictionary so that the given key has no mapping to any value. The dictionary must not be shared, or an error of MutateSharedDict will occur. It is not an error if the key did not previously exist. An error of NotDict occurs if it cannot be converted to a dictionary.

Examples
use std::collections::HashMap;
use tcl::*;

let mut map = HashMap::new();
map.insert( "C++" , 1983 );
map.insert( "Rust", 2006 );

let map = Obj::from( map );
map.dict_remove("Cpp").unwrap();
map.dict_remove("C++").unwrap();
assert_eq!( map.to_string(), "Rust 2006" );
source

pub fn dict_size(&self) -> Result<i32, NotDict>

Updates the given variable with the number of key/value pairs currently in the given dictionary. An error of NotDict occurs if it cannot be converted to a dictionary.

Examples
use std::collections::HashMap;
use tcl::*;

let mut map = HashMap::new();
map.insert( "C++" , 1983 );
map.insert( "Rust", 2006 );
let map = Obj::from( map );
assert_eq!( map.dict_size().unwrap(), 2 );

let obj = vec![ "C++", "1983", "Rust", "2006" ];
assert_eq!( map.dict_size().unwrap(), 2 );
source

pub fn dict_iter(self) -> Result<DictIter, NotDict>

Creates an iterator from a dictionary.

Examples
use std::collections::HashMap;
use tcl::*;

let mut map = HashMap::new();
map.insert( "C"   , 1972 );
map.insert( "C++" , 1983 );
map.insert( "Rust", 2006 );
let map = Obj::from( map );
let mut list = map
    .dict_iter()
    .unwrap()
    .map( |(k,v)| (k.to_string(), v.as_i32() ))
    .collect::<Vec<_>>();
list.sort();
assert_eq!( list, vec![ ("C".to_owned(),1972), ("C++".to_owned(),1983), ("Rust".to_owned(),2006) ]);
source§

impl Obj

source

pub fn new_list(objs: impl Iterator<Item = Obj>) -> Obj

Creates a new value as a Tcl list obj to hold objs.

source

pub fn new_list_with_capacity(cap: usize) -> Obj

Creates a new, empty Tcl list obj with the specified capacity.

source

pub fn set_list(self, objs: impl Iterator<Item = Obj>) -> Obj

Sets the obj to hold a Tcl list composed of objs.

source

pub fn list_append(&self, to_append: impl Into<Obj>) -> Result<(), NotList>

Append a list to_append to this list.

Examples
use tcl::*;
let list = Obj::from(( "The", "answer" ));
list.list_append(( "is", 42 ));
assert_eq!( list.to_string(), "The answer is 42" );
source

pub fn list_append_element(&self, elem: impl Into<Obj>) -> Result<(), NotList>

Append an element elem to this list.

Examples
use tcl::*;
let list = Obj::from(( "The", "answer" ));
list.list_append_element(( "is", 42 ));
assert_eq!( list.to_string(), "The answer {is 42}" );
source

pub fn get_elements(self) -> Result<impl Iterator<Item = Obj>, NotList>

Converts the list to an iterator that iterates over all its elements.

Examples
use tcl::*;
let list = Obj::from(( "The", "answer", "is", 42 ));
let mut elems = list.get_elements().unwrap();
assert_eq!( elems.next().unwrap().to_string(), "The" );
assert_eq!( elems.next().unwrap().to_string(), "answer" );
assert_eq!( elems.next().unwrap().to_string(), "is" );
assert_eq!( elems.next().unwrap().as_i32(), 42 );
source

pub fn list_length(&self) -> Result<i32, NotList>

Returns the amount of list elements.

Examples
use tcl::*;
let list = Obj::from(( "The", "answer", "is", 42 ));
assert_eq!( list.list_length().unwrap(), 4 );
source

pub fn list_index(&self, index: i32) -> Result<Option<Obj>, NotList>

Returns the nth obj in the list. Note that the index is 0-based.

Examples
use tcl::*;
let list = Obj::from(( "The", "answer", "is", 42 ));
assert_eq!( list.list_index(1).unwrap().unwrap().to_string(), "answer" );
assert!( list.list_index(4).unwrap().is_none() );
source

pub fn list_replace( &self, first: i32, count: i32, objs: impl Iterator<Item = Obj> ) -> Result<(), NotList>

Replace from the first to first+count objs in the list with objs.

If the argument first is zero or negative, it refers to the first element; if it is greater than or equal to the number of elements in the list, then no elements are deleted; the new elements are appended to the list.

If count is zero or negative then no elements are deleted; the new elements are simply inserted before the one designated by first.

Note that the index is 0-based.

Examples
use tcl::*;
let list = Obj::from(( "The", "answer", "is", 42 ));
let objs = vec![ "to", "life,", "the", "universe,", "and", "everything:" ].into_iter().map( Obj::from );
list.list_replace( 2, 1, objs ).unwrap();
assert_eq!( list.to_string(), "The answer to life, the universe, and everything: 42" );

Trait Implementations§

source§

impl Clone for Obj

source§

fn clone(&self) -> Obj

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Obj

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Obj

source§

fn default() -> Obj

Returns the “default value” for a type. Read more
source§

impl Display for Obj

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Drop for Obj

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl<T, O> From<&[T]> for Objwhere T: ToOwned<Owned = O>, O: Into<Obj>,

source§

fn from(v: &[T]) -> Obj

Converts to this type from the input type.
source§

impl<TK: TkInstance> From<&TtkStyle<TK>> for Obj

source§

fn from(style: &TtkStyle<TK>) -> Obj

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for Obj

source§

fn from(s: &'a str) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<Bitmap<Inst>> for Obj

source§

fn from(bitmap: Bitmap<Inst>) -> Obj

Converts to this type from the input type.
source§

impl From<CString> for Obj

source§

fn from(s: CString) -> Obj

Converts to this type from the input type.
source§

impl From<Column> for Obj

source§

fn from(id: Column) -> Obj

Converts to this type from the input type.
source§

impl<'a, B> From<Cow<'a, B>> for Objwhere B: 'a + ToOwned + ?Sized, &'a B: Into<Obj>, <B as ToOwned>::Owned: Into<Obj>,

source§

fn from(cow: Cow<'a, B>) -> Obj

Converts to this type from the input type.
source§

impl<'a, Opts> From<Font<'a, Opts>> for Objwhere Opts: IntoHomoTuple<TkFontOpt> + IntoHomoTuple<OptPair>,

source§

fn from(font: Font<'a, Opts>) -> Obj

Converts to this type from the input type.
source§

impl<K, V> From<HashMap<K, V>> for Objwhere K: Into<Obj>, V: Into<Obj>,

source§

fn from(hash_map: HashMap<K, V>) -> Obj

Converts to this type from the input type.
source§

impl From<Index> for Obj

source§

fn from(index: Index) -> Obj

Converts to this type from the input type.
source§

impl From<Index> for Obj

source§

fn from(index: Index) -> Obj

Converts to this type from the input type.
source§

impl From<Index> for Obj

source§

fn from(index: Index) -> Obj

Converts to this type from the input type.
source§

impl From<Index> for Obj

source§

fn from(index: Index) -> Obj

Converts to this type from the input type.
source§

impl From<Index> for Obj

source§

fn from(index: Index) -> Obj

Converts to this type from the input type.
source§

impl From<Index> for Obj

source§

fn from(index: Index) -> Obj

Converts to this type from the input type.
source§

impl From<Index> for Obj

source§

fn from(index: Index) -> Obj

Converts to this type from the input type.
source§

impl From<Index> for Obj

source§

fn from(index: Index) -> Obj

Converts to this type from the input type.
source§

impl From<ItemId> for Obj

source§

fn from(id: ItemId) -> Obj

Converts to this type from the input type.
source§

impl From<ItemTag> for Obj

source§

fn from(tag: ItemTag) -> Obj

Converts to this type from the input type.
source§

impl<T> From<Option<T>> for Objwhere T: Into<Obj>,

source§

fn from(option: Option<T>) -> Obj

Converts to this type from the input type.
source§

impl From<PathBuf> for Obj

source§

fn from(s: PathBuf) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<Photo<Inst>> for Obj

source§

fn from(photo: Photo<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<T> From<Range<T>> for Objwhere T: Into<Obj>,

source§

fn from(range: Range<T>) -> Obj

Converts to this type from the input type.
source§

impl From<String> for Obj

source§

fn from(s: String) -> Obj

Converts to this type from the input type.
source§

impl From<Style> for Obj

source§

fn from(style: Style) -> Obj

Converts to this type from the input type.
source§

impl From<TagOrId> for Obj

source§

fn from(tag_or_id: TagOrId) -> Obj

Converts to this type from the input type.
source§

impl From<TkAcceptableSize> for Obj

source§

fn from(acceptable_size: TkAcceptableSize) -> Obj

Converts to this type from the input type.
source§

impl<'a, Inst: TkInstance> From<TkBindTag<'a, Inst>> for Obj

source§

fn from(tag: TkBindTag<'a, Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkButton<Inst>> for Obj

source§

fn from(widget: TkButton<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkCanvas<Inst>> for Obj

source§

fn from(widget: TkCanvas<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkCheckbutton<Inst>> for Obj

source§

fn from(widget: TkCheckbutton<Inst>) -> Obj

Converts to this type from the input type.
source§

impl From<TkCmp> for Obj

source§

fn from(tk_cmp: TkCmp) -> Obj

Converts to this type from the input type.
source§

impl<'a> From<TkColor<'a>> for Obj

source§

fn from(color: TkColor<'a>) -> Obj

Converts to this type from the input type.
source§

impl From<TkDistance> for Obj

source§

fn from(distance: TkDistance) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkEntry<Inst>> for Obj

source§

fn from(widget: TkEntry<Inst>) -> Obj

Converts to this type from the input type.
source§

impl From<TkEvent> for Obj

source§

fn from(seq: TkEvent) -> Obj

Converts to this type from the input type.
source§

impl From<TkEventSeq> for Obj

source§

fn from(seq: TkEventSeq) -> Obj

Converts to this type from the input type.
source§

impl From<TkFocusModel> for Obj

source§

fn from(focus_model: TkFocusModel) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkFrame<Inst>> for Obj

source§

fn from(widget: TkFrame<Inst>) -> Obj

Converts to this type from the input type.
source§

impl From<TkGeometry> for Obj

source§

fn from(geometry: TkGeometry) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkLabel<Inst>> for Obj

source§

fn from(widget: TkLabel<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkLabelframe<Inst>> for Obj

source§

fn from(widget: TkLabelframe<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkListbox<Inst>> for Obj

source§

fn from(widget: TkListbox<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkMenu<Inst>> for Obj

source§

fn from(widget: TkMenu<Inst>) -> Obj

Converts to this type from the input type.
source§

impl From<TkMenuCloneType> for Obj

source§

fn from(menu_clone_type: TkMenuCloneType) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkMenubutton<Inst>> for Obj

source§

fn from(widget: TkMenubutton<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkMessage<Inst>> for Obj

source§

fn from(widget: TkMessage<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkOptionMenu<Inst>> for Obj

source§

fn from(widget: TkOptionMenu<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkPanedwindow<Inst>> for Obj

source§

fn from(widget: TkPanedwindow<Inst>) -> Obj

Converts to this type from the input type.
source§

impl From<TkRGB> for Obj

source§

fn from(rgb: TkRGB) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkRadiobutton<Inst>> for Obj

source§

fn from(widget: TkRadiobutton<Inst>) -> Obj

Converts to this type from the input type.
source§

impl From<TkRequester> for Obj

source§

fn from(who: TkRequester) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkScale<Inst>> for Obj

source§

fn from(widget: TkScale<Inst>) -> Obj

Converts to this type from the input type.
source§

impl From<TkScaleCoord> for Obj

source§

fn from(scale_coord: TkScaleCoord) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkScrollbar<Inst>> for Obj

source§

fn from(widget: TkScrollbar<Inst>) -> Obj

Converts to this type from the input type.
source§

impl From<TkScrollbarDelta> for Obj

source§

fn from(delta: TkScrollbarDelta) -> Obj

Converts to this type from the input type.
source§

impl From<TkScrollbarElement> for Obj

source§

fn from(element: TkScrollbarElement) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkSpinbox<Inst>> for Obj

source§

fn from(widget: TkSpinbox<Inst>) -> Obj

Converts to this type from the input type.
source§

impl From<TkSpinboxInvokableElement> for Obj

source§

fn from(element: TkSpinboxInvokableElement) -> Obj

Converts to this type from the input type.
source§

impl From<TkState> for Obj

source§

fn from(state: TkState) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkText<Inst>> for Obj

source§

fn from(widget: TkText<Inst>) -> Obj

Converts to this type from the input type.
source§

impl From<TkTextDump> for Obj

source§

fn from(dump: TkTextDump) -> Obj

Converts to this type from the input type.
source§

impl From<TkTextMarkGravity> for Obj

source§

fn from(gravity: TkTextMarkGravity) -> Obj

Converts to this type from the input type.
source§

impl From<TkTextSearch> for Obj

source§

fn from(search: TkTextSearch) -> Obj

Converts to this type from the input type.
source§

impl From<TkTextSearchAll> for Obj

source§

fn from(search: TkTextSearchAll) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TkToplevel<Inst>> for Obj

source§

fn from(widget: TkToplevel<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkButton<Inst>> for Obj

source§

fn from(widget: TtkButton<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkCheckbutton<Inst>> for Obj

source§

fn from(widget: TtkCheckbutton<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkCombobox<Inst>> for Obj

source§

fn from(widget: TtkCombobox<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkEntry<Inst>> for Obj

source§

fn from(widget: TtkEntry<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkFrame<Inst>> for Obj

source§

fn from(widget: TtkFrame<Inst>) -> Obj

Converts to this type from the input type.
source§

impl From<TtkInsertPos> for Obj

source§

fn from(pos: TtkInsertPos) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkLabel<Inst>> for Obj

source§

fn from(widget: TtkLabel<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkLabelframe<Inst>> for Obj

source§

fn from(widget: TtkLabelframe<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkMenubutton<Inst>> for Obj

source§

fn from(widget: TtkMenubutton<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkNotebook<Inst>> for Obj

source§

fn from(widget: TtkNotebook<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<'w, TK: TkInstance> From<TtkNotebookTabId<'w, TK>> for Obj

source§

fn from(id: TtkNotebookTabId<'w, TK>) -> Obj

Converts to this type from the input type.
source§

impl<'w, TK: TkInstance> From<TtkPane<'w, TK>> for Obj

source§

fn from(pane: TtkPane<'w, TK>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkPanedwindow<Inst>> for Obj

source§

fn from(widget: TtkPanedwindow<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkProgressbar<Inst>> for Obj

source§

fn from(widget: TtkProgressbar<Inst>) -> Obj

Converts to this type from the input type.
source§

impl From<TtkProgressbarInterval> for Obj

source§

fn from(interval: TtkProgressbarInterval) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkRadiobutton<Inst>> for Obj

source§

fn from(widget: TtkRadiobutton<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkScale<Inst>> for Obj

source§

fn from(widget: TtkScale<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkScrollbar<Inst>> for Obj

source§

fn from(widget: TtkScrollbar<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkSeparator<Inst>> for Obj

source§

fn from(widget: TtkSeparator<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkSizegrip<Inst>> for Obj

source§

fn from(widget: TtkSizegrip<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkSpinbox<Inst>> for Obj

source§

fn from(widget: TtkSpinbox<Inst>) -> Obj

Converts to this type from the input type.
source§

impl From<TtkState> for Obj

source§

fn from(state: TtkState) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<TtkTreeview<Inst>> for Obj

source§

fn from(widget: TtkTreeview<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Tup, HTup, MTup> From<Tup> for Objwhere Tup: IntoHomoTuple<Obj, Output = HTup>, HTup: MapHomoTuple<Obj, *mut Tcl_Obj, Output = MTup>, MTup: HomoTuple<*mut Tcl_Obj>,

source§

fn from(tuple: Tup) -> Obj

Converts to this type from the input type.
source§

impl<T> From<Vec<T>> for Objwhere T: Into<Obj>,

source§

fn from(v: Vec<T>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> From<Widget<Inst>> for Obj

source§

fn from(widget: Widget<Inst>) -> Obj

Converts to this type from the input type.
source§

impl From<bool> for Obj

source§

fn from(b: bool) -> Obj

Converts to this type from the input type.
source§

impl From<char> for Obj

source§

fn from(c: char) -> Obj

Converts to this type from the input type.
source§

impl From<f64> for Obj

source§

fn from(i: f64) -> Obj

Converts to this type from the input type.
source§

impl From<i16> for Obj

source§

fn from(i: i16) -> Obj

Converts to this type from the input type.
source§

impl From<i32> for Obj

source§

fn from(i: i32) -> Obj

Converts to this type from the input type.
source§

impl From<i64> for Obj

source§

fn from(i: i64) -> Obj

Converts to this type from the input type.
source§

impl From<i8> for Obj

source§

fn from(i: i8) -> Obj

Converts to this type from the input type.
source§

impl From<isize> for Obj

source§

fn from(i: isize) -> Obj

Converts to this type from the input type.
source§

impl From<u16> for Obj

source§

fn from(i: u16) -> Obj

Converts to this type from the input type.
source§

impl From<u32> for Obj

source§

fn from(i: u32) -> Obj

Converts to this type from the input type.
source§

impl From<u64> for Obj

source§

fn from(v: u64) -> Obj

Converts to this type from the input type.
source§

impl From<u8> for Obj

source§

fn from(i: u8) -> Obj

Converts to this type from the input type.
source§

impl From<usize> for Obj

source§

fn from(i: usize) -> Obj

Converts to this type from the input type.
source§

impl TryFrom<Obj> for TtkState

§

type Error = TtkStateParseError

The type returned in the event of a conversion error.
source§

fn try_from(obj: Obj) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<T> TryFrom<Obj> for Vec<T>where Obj: TryInto<T, Error = DeError>,

§

type Error = DeError

The type returned in the event of a conversion error.
source§

fn try_from(obj: Obj) -> Result<Vec<T>, <Vec<T> as TryFrom<Obj>>::Error>

Performs the conversion.

Auto Trait Implementations§

§

impl RefUnwindSafe for Obj

§

impl !Send for Obj

§

impl !Sync for Obj

§

impl Unpin for Obj

§

impl UnwindSafe for Obj

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Enum> Error for Enum

source§

fn error<T, Dest, Index>(self) -> Result<T, Dest>where Self: Sized + ExchangeInto<Dest, Index>,

source§

impl<_I0, _T0, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0,)>> for Destwhere Src: Proto<Type = __1<_T0>>, Dest: ExchangeFrom<_T0, _I0>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _T0, _T1, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1)>> for Destwhere Src: Proto<Type = __2<_T0, _T1>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _T0, _T1, _T2, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2)>> for Destwhere Src: Proto<Type = __3<_T0, _T1, _T2>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _T0, _T1, _T2, _T3, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3)>> for Destwhere Src: Proto<Type = __4<_T0, _T1, _T2, _T3>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _T0, _T1, _T2, _T3, _T4, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4)>> for Destwhere Src: Proto<Type = __5<_T0, _T1, _T2, _T3, _T4>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _T0, _T1, _T2, _T3, _T4, _T5, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5)>> for Destwhere Src: Proto<Type = __6<_T0, _T1, _T2, _T3, _T4, _T5>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _T0, _T1, _T2, _T3, _T4, _T5, _T6, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6)>> for Destwhere Src: Proto<Type = __7<_T0, _T1, _T2, _T3, _T4, _T5, _T6>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7)>> for Destwhere Src: Proto<Type = __8<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8)>> for Destwhere Src: Proto<Type = __9<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9)>> for Destwhere Src: Proto<Type = __10<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8> + ExchangeFrom<_T9, _I9>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10)>> for Destwhere Src: Proto<Type = __11<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8> + ExchangeFrom<_T9, _I9> + ExchangeFrom<_T10, _I10>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11)>> for Destwhere Src: Proto<Type = __12<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8> + ExchangeFrom<_T9, _I9> + ExchangeFrom<_T10, _I10> + ExchangeFrom<_T11, _I11>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12)>> for Destwhere Src: Proto<Type = __13<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8> + ExchangeFrom<_T9, _I9> + ExchangeFrom<_T10, _I10> + ExchangeFrom<_T11, _I11> + ExchangeFrom<_T12, _I12>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12, _I13, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12, _I13)>> for Destwhere Src: Proto<Type = __14<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8> + ExchangeFrom<_T9, _I9> + ExchangeFrom<_T10, _I10> + ExchangeFrom<_T11, _I11> + ExchangeFrom<_T12, _I12> + ExchangeFrom<_T13, _I13>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12, _I13, _I14, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, _T14, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12, _I13, _I14)>> for Destwhere Src: Proto<Type = __15<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, _T14>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8> + ExchangeFrom<_T9, _I9> + ExchangeFrom<_T10, _I10> + ExchangeFrom<_T11, _I11> + ExchangeFrom<_T12, _I12> + ExchangeFrom<_T13, _I13> + ExchangeFrom<_T14, _I14>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12, _I13, _I14, _I15, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, _T14, _T15, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12, _I13, _I14, _I15)>> for Destwhere Src: Proto<Type = __16<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, _T14, _T15>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8> + ExchangeFrom<_T9, _I9> + ExchangeFrom<_T10, _I10> + ExchangeFrom<_T11, _I11> + ExchangeFrom<_T12, _I12> + ExchangeFrom<_T13, _I13> + ExchangeFrom<_T14, _I14> + ExchangeFrom<_T15, _I15>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<Src, Dest, Index> ExchangeInto<Dest, Index> for Srcwhere Dest: ExchangeFrom<Src, Index>,

source§

fn exchange_into(self) -> Dest

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Enum, Variant, Index> IntoEnum<Enum, Index> for Variantwhere Enum: FromVariant<Variant, Index>,

source§

fn into_enum(self) -> Enum

source§

impl<Src, Dest> IntoTuple<Dest> for Srcwhere Dest: FromTuple<Src>,

source§

fn into_tuple(self) -> Dest

source§

impl<T, E> Ret<Result<T, E>, _WrapOk> for T

source§

fn ret(self) -> Result<T, E>

source§

impl<T, E, A> RetLog<Result<T, E>, A, _WrapOk> for Twhere A: LogAgent,

source§

fn ret_log(self, _item: impl Fn() -> <A as LogAgent>::Item) -> Result<T, E>

source§

impl<T, E, F, I> Throw<Result<T, F>, _WrapErr<I>> for Ewhere E: ExchangeInto<F, I>,

source§

fn throw(self) -> Result<T, F>

source§

impl<T, E, F, A, I> ThrowLog<Result<T, F>, A, _ToLog<I>> for Ewhere A: LogAgent, E: ToLog<A>, Log<E, A>: ExchangeInto<F, I>,

source§

fn throw_log(self, item: impl Fn() -> <A as LogAgent>::Item) -> Result<T, F>

source§

impl<T> TkAboveFn for Twhere T: Into<Obj>,

§

type Output = TkAbove

source§

fn output(self) -> <T as TkAboveFn>::Output

source§

impl<T> TkAcceleratorFn for Twhere T: Into<Obj>,

source§

impl<T> TkActiveBackgroundFn for Twhere T: Into<Obj>,

source§

impl<T> TkActiveBitmapFn for Twhere T: Into<Obj>,

source§

impl<T> TkActiveBorderWidthFn for Twhere T: Into<Obj>,

source§

impl<T> TkActiveDashFn for Twhere T: Into<Obj>,

source§

impl<T> TkActiveFillFn for Twhere T: Into<Obj>,

source§

impl<T> TkActiveForegroundFn for Twhere T: Into<Obj>,

source§

impl<T> TkActiveImageFn for Twhere T: Into<Obj>,

source§

impl<T> TkActiveOutlineFn for Twhere T: Into<Obj>,

source§

impl<T> TkActiveOutlineStippleFn for Twhere T: Into<Obj>,

source§

impl<T> TkActiveReliefFn for Twhere T: Into<Obj>,

source§

impl<T> TkActiveStippleFn for Twhere T: Into<Obj>,

source§

impl<T> TkActiveStyleFn for Twhere T: Into<Obj>,

source§

impl<T> TkActiveWidthFn for Twhere T: Into<Obj>,

source§

impl<T> TkAfterFn for Twhere T: Into<Obj>,

§

type Output = TkAfter

source§

fn output(self) -> <T as TkAfterFn>::Output

source§

impl<T> TkAlignFn for Twhere T: Into<Obj>,

§

type Output = TkAlign

source§

fn output(self) -> <T as TkAlignFn>::Output

source§

impl<T> TkAlphaFn for Twhere T: Into<Obj>,

§

type Output = TkAlpha

source§

fn output(self) -> <T as TkAlphaFn>::Output

source§

impl<T> TkAnchorFn for Twhere T: Into<Obj>,

source§

impl<T> TkAngleFn for Twhere T: Into<Obj>,

§

type Output = TkAngle

source§

fn output(self) -> <T as TkAngleFn>::Output

source§

impl<T> TkArrowFn for Twhere T: Into<Obj>,

§

type Output = TkArrow

source§

fn output(self) -> <T as TkArrowFn>::Output

source§

impl<T> TkArrowShapeFn for Twhere T: Into<Obj>,

source§

impl<T> TkAscentFn for Twhere T: Into<Obj>,

source§

impl<T> TkAspectFn for Twhere T: Into<Obj>,

source§

impl<T> TkAutoSeperatorsFn for Twhere T: Into<Obj>,

source§

impl<T> TkBackgroundFn for Twhere T: Into<Obj>,

source§

impl<T> TkBdFn for Twhere T: Into<Obj>,

§

type Output = TkBd

source§

fn output(self) -> <T as TkBdFn>::Output

source§

impl<T> TkBeforeFn for Twhere T: Into<Obj>,

source§

impl<T> TkBgFn for Twhere T: Into<Obj>,

§

type Output = TkBg

source§

fn output(self) -> <T as TkBgFn>::Output

source§

impl<T> TkBgStippleFn for Twhere T: Into<Obj>,

source§

impl<T> TkBigIncrementFn for Twhere T: Into<Obj>,

source§

impl<T> TkBitmapFn for Twhere T: Into<Obj>,

source§

impl<T> TkBlockCursorFn for Twhere T: Into<Obj>,

source§

impl<T> TkBorderModeFn for Twhere T: Into<Obj>,

source§

impl<T> TkBorderWidthFn for Twhere T: Into<Obj>,

source§

impl<T> TkButtonBackgroundFn for Twhere T: Into<Obj>,

source§

impl<T> TkButtonCursorFn for Twhere T: Into<Obj>,

source§

impl<T> TkButtonDownReliefFn for Twhere T: Into<Obj>,

source§

impl<T> TkButtonFn for Twhere T: Into<Obj>,

source§

impl<T> TkButtonUpReliefFn for Twhere T: Into<Obj>,

source§

impl<T> TkCapStyleFn for Twhere T: Into<Obj>,

source§

impl<T> TkChannelFn for Twhere T: Into<Obj>,

source§

impl<T> TkClassFn for Twhere T: Into<Obj>,

§

type Output = TkClass

source§

fn output(self) -> <T as TkClassFn>::Output

source§

impl<T> TkCloseEnoughFn for Twhere T: Into<Obj>,

source§

impl<T> TkColorMapFn for Twhere T: Into<Obj>,

source§

impl<T> TkColorModeFn for Twhere T: Into<Obj>,

source§

impl<T> TkColumnBreakFn for Twhere T: Into<Obj>,

source§

impl<T> TkColumnFn for Twhere T: Into<Obj>,

source§

impl<T> TkColumnSpanFn for Twhere T: Into<Obj>,

source§

impl<T> TkColumnsFn for Twhere T: Into<Obj>,

source§

impl<T> TkCommandFn for Twhere T: Into<Obj>,

source§

impl<T> TkCompositingruleFn for Twhere T: Into<Obj>,

source§

impl<T> TkCompoundFn for Twhere T: Into<Obj>,

source§

impl<T> TkConfineFn for Twhere T: Into<Obj>,

source§

impl<T> TkConfirmOverwriteFn for Twhere T: Into<Obj>,

source§

impl<T> TkContainerFn for Twhere T: Into<Obj>,

source§

impl<T> TkCountFn for Twhere T: Into<Obj>,

§

type Output = TkCount

source§

fn output(self) -> <T as TkCountFn>::Output

source§

impl<T> TkCreateFn for Twhere T: Into<Obj>,

source§

impl<T> TkCursorFn for Twhere T: Into<Obj>,

source§

impl<T> TkDashFn for Twhere T: Into<Obj>,

§

type Output = TkDash

source§

fn output(self) -> <T as TkDashFn>::Output

source§

impl<T> TkDashOffsetFn for Twhere T: Into<Obj>,

source§

impl<T> TkDataFn for Twhere T: Into<Obj>,

§

type Output = TkData

source§

fn output(self) -> <T as TkDataFn>::Output

source§

impl<T> TkDefaultExtensionFn for Twhere T: Into<Obj>,

source§

impl<T> TkDefaultFn for Twhere T: Into<Obj>,

source§

impl<T> TkDeltaFn for Twhere T: Into<Obj>,

§

type Output = TkDelta

source§

fn output(self) -> <T as TkDeltaFn>::Output

source§

impl<T> TkDescentFn for Twhere T: Into<Obj>,

source§

impl<T> TkDetailFn for Twhere T: Into<Obj>,

source§

impl<T> TkDigitsFn for Twhere T: Into<Obj>,

source§

impl<T> TkDirectionFn for Twhere T: Into<Obj>,

source§

impl<T> TkDisabledBackgroundFn for Twhere T: Into<Obj>,

source§

impl<T> TkDisabledBitmapFn for Twhere T: Into<Obj>,

source§

impl<T> TkDisabledDashFn for Twhere T: Into<Obj>,

source§

impl<T> TkDisabledFillFn for Twhere T: Into<Obj>,

source§

impl<T> TkDisabledFn for Twhere T: Into<Obj>,

source§

impl<T> TkDisabledForegroundFn for Twhere T: Into<Obj>,

source§

impl<T> TkDisabledImageFn for Twhere T: Into<Obj>,

source§

impl<T> TkDisabledOutlineFn for Twhere T: Into<Obj>,

source§

impl<T> TkDisabledOutlineStippleFn for Twhere T: Into<Obj>,

source§

impl<T> TkDisabledStippleFn for Twhere T: Into<Obj>,

source§

impl<T> TkDisabledWidthFn for Twhere T: Into<Obj>,

source§

impl<T> TkDisplayColumnsFn for Twhere T: Into<Obj>,

source§

impl<T> TkElementBorderWidthFn for Twhere T: Into<Obj>,

source§

impl<T> TkElideFn for Twhere T: Into<Obj>,

§

type Output = TkElide

source§

fn output(self) -> <T as TkElideFn>::Output

source§

impl<T> TkEndlineFn for Twhere T: Into<Obj>,

source§

impl<T> TkExpandFn for Twhere T: Into<Obj>,

source§

impl<T> TkExportSelectionFn for Twhere T: Into<Obj>,

source§

impl<T> TkExtentFn for Twhere T: Into<Obj>,

source§

impl<T> TkFamilyFn for Twhere T: Into<Obj>,

source§

impl<T> TkFgStrippleFn for Twhere T: Into<Obj>,

source§

impl<T> TkFileFn for Twhere T: Into<Obj>,

§

type Output = TkFile

source§

fn output(self) -> <T as TkFileFn>::Output

source§

impl<T> TkFileTypesFn for Twhere T: Into<Obj>,

source§

impl<T> TkFillFn for Twhere T: Into<Obj>,

§

type Output = TkFill

source§

fn output(self) -> <T as TkFillFn>::Output

source§

impl<T> TkFixedFn for Twhere T: Into<Obj>,

§

type Output = TkFixed

source§

fn output(self) -> <T as TkFixedFn>::Output

source§

impl<T> TkFocusFn for Twhere T: Into<Obj>,

§

type Output = TkFocus

source§

fn output(self) -> <T as TkFocusFn>::Output

source§

impl<T> TkFontFn for Twhere T: Into<Obj>,

§

type Output = TkFont

source§

fn output(self) -> <T as TkFontFn>::Output

source§

impl<T> TkFontMapFn for Twhere T: Into<Obj>,

source§

impl<T> TkForegroundFn for Twhere T: Into<Obj>,

source§

impl<T> TkFormatFn for Twhere T: Into<Obj>,

source§

impl<T> TkFromFn for Twhere T: Into<Obj>,

§

type Output = TkFrom

source§

fn output(self) -> <T as TkFromFn>::Output

source§

impl<T> TkFullScreenFn for Twhere T: Into<Obj>,

source§

impl<T> TkGammaFn for Twhere T: Into<Obj>,

§

type Output = TkGamma

source§

fn output(self) -> <T as TkGammaFn>::Output

source§

impl<T> TkGrayscaleFn for Twhere T: Into<Obj>,

source§

impl<T> TkHandlePadFn for Twhere T: Into<Obj>,

source§

impl<T> TkHandleSizeFn for Twhere T: Into<Obj>,

source§

impl<T> TkHeightFn for Twhere T: Into<Obj>,

source§

impl<T> TkHideFn for Twhere T: Into<Obj>,

§

type Output = TkHide

source§

fn output(self) -> <T as TkHideFn>::Output

source§

impl<T> TkHideMarginFn for Twhere T: Into<Obj>,

source§

impl<T> TkHighlightBackgroundFn for Twhere T: Into<Obj>,

source§

impl<T> TkHighlightColorFn for Twhere T: Into<Obj>,

source§

impl<T> TkHighlightThicknessFn for Twhere T: Into<Obj>,

source§

impl<T> TkIPadXFn for Twhere T: Into<Obj>,

§

type Output = TkIPadX

source§

fn output(self) -> <T as TkIPadXFn>::Output

source§

impl<T> TkIPadYFn for Twhere T: Into<Obj>,

§

type Output = TkIPadY

source§

fn output(self) -> <T as TkIPadYFn>::Output

source§

impl<T> TkIconFn for Twhere T: Into<Obj>,

§

type Output = TkIcon

source§

fn output(self) -> <T as TkIconFn>::Output

source§

impl<T> TkIdFn for Twhere T: Into<Obj>,

§

type Output = TkId

source§

fn output(self) -> <T as TkIdFn>::Output

source§

impl<T> TkImageFn for Twhere T: Into<Obj>,

§

type Output = TkImage

source§

fn output(self) -> <T as TkImageFn>::Output

source§

impl<T> TkImargin1Fn for Twhere T: Into<Obj>,

source§

impl<T> TkImargin2Fn for Twhere T: Into<Obj>,

source§

impl<T> TkImarginColorFn for Twhere T: Into<Obj>,

source§

impl<T> TkInFn for Twhere T: Into<Obj>,

§

type Output = TkIn

source§

fn output(self) -> <T as TkInFn>::Output

source§

impl<T> TkInactiveSelectBackgroundFn for Twhere T: Into<Obj>,

source§

impl<T> TkIncrementFn for Twhere T: Into<Obj>,

source§

impl<T> TkIndicatorOnFn for Twhere T: Into<Obj>,

source§

impl<T> TkInitialColorFn for Twhere T: Into<Obj>,

source§

impl<T> TkInitialDirFn for Twhere T: Into<Obj>,

source§

impl<T> TkInitialFileFn for Twhere T: Into<Obj>,

source§

impl<T> TkInsertBackgroundFn for Twhere T: Into<Obj>,

source§

impl<T> TkInsertBorderWidthFn for Twhere T: Into<Obj>,

source§

impl<T> TkInsertOffTimeFn for Twhere T: Into<Obj>,

source§

impl<T> TkInsertOnTimeFn for Twhere T: Into<Obj>,

source§

impl<T> TkInsertUnfocussedFn for Twhere T: Into<Obj>,

source§

impl<T> TkInsertWidthFn for Twhere T: Into<Obj>,

source§

impl<T> TkInvCmdFn for Twhere T: Into<Obj>,

source§

impl<T> TkInvalidCommandFn for Twhere T: Into<Obj>,

source§

impl<T> TkJoinStyleFn for Twhere T: Into<Obj>,

source§

impl<T> TkJumpFn for Twhere T: Into<Obj>,

§

type Output = TkJump

source§

fn output(self) -> <T as TkJumpFn>::Output

source§

impl<T> TkJustifyFn for Twhere T: Into<Obj>,

source§

impl<T> TkKeyCodeFn for Twhere T: Into<Obj>,

source§

impl<T> TkKeySymFn for Twhere T: Into<Obj>,

source§

impl<T> TkLabelAnchorFn for Twhere T: Into<Obj>,

source§

impl<T> TkLabelFn for Twhere T: Into<Obj>,

§

type Output = TkLabel

source§

fn output(self) -> <T as TkLabelFn>::Output

source§

impl<T> TkLabelWidgetFn for Twhere T: Into<Obj>,

source§

impl<T> TkLengthFn for Twhere T: Into<Obj>,

source§

impl<T> TkLinespaceFn for Twhere T: Into<Obj>,

source§

impl<T> TkListVariableFn for Twhere T: Into<Obj>,

source§

impl<T> TkMaskDataFn for Twhere T: Into<Obj>,

source§

impl<T> TkMaskFileFn for Twhere T: Into<Obj>,

source§

impl<T> TkMaxUndoFn for Twhere T: Into<Obj>,

source§

impl<T> TkMaximumFn for Twhere T: Into<Obj>,

source§

impl<T> TkMenuFn for Twhere T: Into<Obj>,

§

type Output = TkMenu

source§

fn output(self) -> <T as TkMenuFn>::Output

source§

impl<T> TkMessageFn for Twhere T: Into<Obj>,

source§

impl<T> TkMinSizeFn for Twhere T: Into<Obj>,

source§

impl<T> TkMinWidthFn for Twhere T: Into<Obj>,

source§

impl<T> TkModeFn for Twhere T: Into<Obj>,

§

type Output = TkMode

source§

fn output(self) -> <T as TkModeFn>::Output

source§

impl<T> TkModifiedFn for Twhere T: Into<Obj>,

source§

impl<T> TkMultipleFn for Twhere T: Into<Obj>,

source§

impl<T> TkMustExistFn for Twhere T: Into<Obj>,

source§

impl<T> TkNameFn for Twhere T: Into<Obj>,

§

type Output = TkName

source§

fn output(self) -> <T as TkNameFn>::Output

source§

impl<T> TkNotifyFn for Twhere T: Into<Obj>,

source§

impl<T> TkOffReliefFn for Twhere T: Into<Obj>,

source§

impl<T> TkOffValueFn for Twhere T: Into<Obj>,

source§

impl<T> TkOffsetFn for Twhere T: Into<Obj>,

source§

impl<T> TkOnValueFn for Twhere T: Into<Obj>,

source§

impl<T> TkOpaqueResizeFn for Twhere T: Into<Obj>,

source§

impl<T> TkOpenFn for Twhere T: Into<Obj>,

§

type Output = TkOpen

source§

fn output(self) -> <T as TkOpenFn>::Output

source§

impl<T> TkOrientFn for Twhere T: Into<Obj>,

source§

impl<T> TkOutlineFn for Twhere T: Into<Obj>,

source§

impl<T> TkOutlineOffsetFn for Twhere T: Into<Obj>,

source§

impl<T> TkOutlineStippleFn for Twhere T: Into<Obj>,

source§

impl<T> TkOverReliefFn for Twhere T: Into<Obj>,

source§

impl<T> TkOverrideFn for Twhere T: Into<Obj>,

source§

impl<T> TkOverstrikeFgFn for Twhere T: Into<Obj>,

source§

impl<T> TkOverstrikeFn for Twhere T: Into<Obj>,

source§

impl<T> TkPadFn for Twhere T: Into<Obj>,

§

type Output = TkPad

source§

fn output(self) -> <T as TkPadFn>::Output

source§

impl<T> TkPaddingFn for Twhere T: Into<Obj>,

source§

impl<T> TkPadxFn for Twhere T: Into<Obj>,

§

type Output = TkPadX

source§

fn output(self) -> <T as TkPadxFn>::Output

source§

impl<T> TkPadyFn for Twhere T: Into<Obj>,

§

type Output = TkPadY

source§

fn output(self) -> <T as TkPadyFn>::Output

source§

impl<T> TkPageAnchorFn for Twhere T: Into<Obj>,

source§

impl<T> TkPageHeightFn for Twhere T: Into<Obj>,

source§

impl<T> TkPageWidthFn for Twhere T: Into<Obj>,

source§

impl<T> TkPageXFn for Twhere T: Into<Obj>,

§

type Output = TkPageX

source§

fn output(self) -> <T as TkPageXFn>::Output

source§

impl<T> TkPageYFn for Twhere T: Into<Obj>,

§

type Output = TkPageY

source§

fn output(self) -> <T as TkPageYFn>::Output

source§

impl<T> TkPaletteFn for Twhere T: Into<Obj>,

source§

impl<T> TkParentFn for Twhere T: Into<Obj>,

source§

impl<T> TkPhaseFn for Twhere T: Into<Obj>,

§

type Output = TkPhase

source§

fn output(self) -> <T as TkPhaseFn>::Output

source§

impl<T> TkPlaceFn for Twhere T: Into<Obj>,

§

type Output = TkPlace

source§

fn output(self) -> <T as TkPlaceFn>::Output

source§

impl<T> TkPostCommandFn for Twhere T: Into<Obj>,

source§

impl<T> TkProxyBackgroundFn for Twhere T: Into<Obj>,

source§

impl<T> TkProxyBorderWidthFn for Twhere T: Into<Obj>,

source§

impl<T> TkProxyReliefFn for Twhere T: Into<Obj>,

source§

impl<T> TkRMarginColorFn for Twhere T: Into<Obj>,

source§

impl<T> TkRMarginFn for Twhere T: Into<Obj>,

source§

impl<T> TkReadOnlyBackgroundFn for Twhere T: Into<Obj>,

source§

impl<T> TkRelHeightFn for Twhere T: Into<Obj>,

source§

impl<T> TkRelWidthFn for Twhere T: Into<Obj>,

source§

impl<T> TkRelXFn for Twhere T: Into<Obj>,

§

type Output = TkRelX

source§

fn output(self) -> <T as TkRelXFn>::Output

source§

impl<T> TkRelYFn for Twhere T: Into<Obj>,

§

type Output = TkRelY

source§

fn output(self) -> <T as TkRelYFn>::Output

source§

impl<T> TkReliefFn for Twhere T: Into<Obj>,

source§

impl<T> TkRepeatDelayFn for Twhere T: Into<Obj>,

source§

impl<T> TkRepeatIntervalFn for Twhere T: Into<Obj>,

source§

impl<T> TkResolutionFn for Twhere T: Into<Obj>,

source§

impl<T> TkRootFn for Twhere T: Into<Obj>,

§

type Output = TkRoot

source§

fn output(self) -> <T as TkRootFn>::Output

source§

impl<T> TkRootxFn for Twhere T: Into<Obj>,

§

type Output = TkRootX

source§

fn output(self) -> <T as TkRootxFn>::Output

source§

impl<T> TkRootyFn for Twhere T: Into<Obj>,

§

type Output = TkRootY

source§

fn output(self) -> <T as TkRootyFn>::Output

source§

impl<T> TkRotateFn for Twhere T: Into<Obj>,

source§

impl<T> TkRowFn for Twhere T: Into<Obj>,

§

type Output = TkRow

source§

fn output(self) -> <T as TkRowFn>::Output

source§

impl<T> TkRowSpanFn for Twhere T: Into<Obj>,

source§

impl<T> TkSashCursorFn for Twhere T: Into<Obj>,

source§

impl<T> TkSashPadFn for Twhere T: Into<Obj>,

source§

impl<T> TkSashReliefFn for Twhere T: Into<Obj>,

source§

impl<T> TkSashWidthFn for Twhere T: Into<Obj>,

source§

impl<T> TkScreenFn for Twhere T: Into<Obj>,

source§

impl<T> TkScrollRegionFn for Twhere T: Into<Obj>,

source§

impl<T> TkSelectBackgroundFn for Twhere T: Into<Obj>,

source§

impl<T> TkSelectBorderWidthFn for Twhere T: Into<Obj>,

source§

impl<T> TkSelectColorFn for Twhere T: Into<Obj>,

source§

impl<T> TkSelectForegroundFn for Twhere T: Into<Obj>,

source§

impl<T> TkSelectImageFn for Twhere T: Into<Obj>,

source§

impl<T> TkSelectModeFn for Twhere T: Into<Obj>,

source§

impl<T> TkSendEventFn for Twhere T: Into<Obj>,

source§

impl<T> TkSerialFn for Twhere T: Into<Obj>,

source§

impl<T> TkSetGridFn for Twhere T: Into<Obj>,

source§

impl<T> TkSettingsFn for Twhere T: Into<Obj>,

source§

impl<T> TkShowFn for Twhere T: Into<Obj>,

§

type Output = TkShow

source§

fn output(self) -> <T as TkShowFn>::Output

source§

impl<T> TkShowHandleFn for Twhere T: Into<Obj>,

source§

impl<T> TkShowValueFn for Twhere T: Into<Obj>,

source§

impl<T> TkShrinkFn for Twhere T: Into<Obj>,

source§

impl<T> TkSideFn for Twhere T: Into<Obj>,

§

type Output = TkSide

source§

fn output(self) -> <T as TkSideFn>::Output

source§

impl<T> TkSizeFn for Twhere T: Into<Obj>,

§

type Output = TkSize

source§

fn output(self) -> <T as TkSizeFn>::Output

source§

impl<T> TkSlantFn for Twhere T: Into<Obj>,

§

type Output = TkSlant

source§

fn output(self) -> <T as TkSlantFn>::Output

source§

impl<T> TkSlideReliefFn for Twhere T: Into<Obj>,

source§

impl<T> TkSliderLengthFn for Twhere T: Into<Obj>,

source§

impl<T> TkSmoothFn for Twhere T: Into<Obj>,

source§

impl<T> TkSpacing1Fn for Twhere T: Into<Obj>,

source§

impl<T> TkSpacing2Fn for Twhere T: Into<Obj>,

source§

impl<T> TkSpacing3Fn for Twhere T: Into<Obj>,

source§

impl<T> TkSplineStepsFn for Twhere T: Into<Obj>,

source§

impl<T> TkStartFn for Twhere T: Into<Obj>,

§

type Output = TkStart

source§

fn output(self) -> <T as TkStartFn>::Output

source§

impl<T> TkStartlineFn for Twhere T: Into<Obj>,

source§

impl<T> TkStateFn for Twhere T: Into<Obj>,

§

type Output = TkState

source§

fn output(self) -> <T as TkStateFn>::Output

source§

impl<T> TkStickyFn for Twhere T: Into<Obj>,

source§

impl<T> TkStippleFn for Twhere T: Into<Obj>,

source§

impl<T> TkStretchFn for Twhere T: Into<Obj>,

source§

impl<T> TkStyleFn for Twhere T: Into<Obj>,

§

type Output = TkStyle

source§

fn output(self) -> <T as TkStyleFn>::Output

source§

impl<T> TkSubWindowFn for Twhere T: Into<Obj>,

source§

impl<T> TkSubsampleFn for Twhere T: Into<Obj>,

source§

impl<T> TkTabStyleFn for Twhere T: Into<Obj>,

source§

impl<T> TkTabsFn for Twhere T: Into<Obj>,

§

type Output = TkTabs

source§

fn output(self) -> <T as TkTabsFn>::Output

source§

impl<T> TkTagsFn for Twhere T: Into<Obj>,

§

type Output = TkTags

source§

fn output(self) -> <T as TkTagsFn>::Output

source§

impl<T> TkTakeFocusFn for Twhere T: Into<Obj>,

source§

impl<T> TkTearOffCommandFn for Twhere T: Into<Obj>,

source§

impl<T> TkTearOffFn for Twhere T: Into<Obj>,

source§

impl<T> TkTextFn for Twhere T: Into<Obj>,

§

type Output = TkText

source§

fn output(self) -> <T as TkTextFn>::Output

source§

impl<T> TkTextVariableFn for Twhere T: Into<Obj>,

source§

impl<T> TkTickIntervalFn for Twhere T: Into<Obj>,

source§

impl<T> TkTimeFn for Twhere T: Into<Obj>,

§

type Output = TkTime

source§

fn output(self) -> <T as TkTimeFn>::Output

source§

impl<T> TkTitleFn for Twhere T: Into<Obj>,

§

type Output = TkTitle

source§

fn output(self) -> <T as TkTitleFn>::Output

source§

impl<T> TkTitlePathFn for Twhere T: Into<Obj>,

source§

impl<T> TkToFn for Twhere T: Into<Obj>,

§

type Output = TkTo

source§

fn output(self) -> <T as TkToFn>::Output

source§

impl<T> TkToolWindowFn for Twhere T: Into<Obj>,

source§

impl<T> TkTopmostFn for Twhere T: Into<Obj>,

source§

impl<T> TkTransparentColorFn for Twhere T: Into<Obj>,

source§

impl<T> TkTransparentFn for Twhere T: Into<Obj>,

source§

impl<T> TkTristateImageFn for Twhere T: Into<Obj>,

source§

impl<T> TkTristateValueFn for Twhere T: Into<Obj>,

source§

impl<T> TkTroughColorFn for Twhere T: Into<Obj>,

source§

impl<T> TkTypeFn for Twhere T: Into<Obj>,

§

type Output = TkType

source§

fn output(self) -> <T as TkTypeFn>::Output

source§

impl<T> TkTypeVariableFn for Twhere T: Into<Obj>,

source§

impl<T> TkUnderlineFgFn for Twhere T: Into<Obj>,

source§

impl<T> TkUnderlineFn for Twhere T: Into<Obj>,

source§

impl<T> TkUndoFn for Twhere T: Into<Obj>,

§

type Output = TkUndo

source§

fn output(self) -> <T as TkUndoFn>::Output

source§

impl<T> TkUniformFn for Twhere T: Into<Obj>,

source§

impl<T> TkUseFn for Twhere T: Into<Obj>,

§

type Output = TkUse

source§

fn output(self) -> <T as TkUseFn>::Output

source§

impl<T> TkValidateCommandFn for Twhere T: Into<Obj>,

source§

impl<T> TkValidateFn for Twhere T: Into<Obj>,

source§

impl<T> TkValueFn for Twhere T: Into<Obj>,

§

type Output = TkValue

source§

fn output(self) -> <T as TkValueFn>::Output

source§

impl<T> TkValuesFn for Twhere T: Into<Obj>,

source§

impl<T> TkVariableFn for Twhere T: Into<Obj>,

source§

impl<T> TkVisibleFn for Twhere T: Into<Obj>,

source§

impl<T> TkVisualFn for Twhere T: Into<Obj>,

source§

impl<T> TkWarpFn for Twhere T: Into<Obj>,

§

type Output = TkWarp

source§

fn output(self) -> <T as TkWarpFn>::Output

source§

impl<T> TkWeightFn for Twhere T: Into<Obj>,

source§

impl<T> TkWhenFn for Twhere T: Into<Obj>,

§

type Output = TkWhen

source§

fn output(self) -> <T as TkWhenFn>::Output

source§

impl<T> TkWidthFn for Twhere T: Into<Obj>,

§

type Output = TkWidth

source§

fn output(self) -> <T as TkWidthFn>::Output

source§

impl<T> TkWindowFn for Twhere T: Into<Obj>,

source§

impl<T> TkWrapFn for Twhere T: Into<Obj>,

§

type Output = TkWrap

source§

fn output(self) -> <T as TkWrapFn>::Output

source§

impl<T> TkWrapLengthFn for Twhere T: Into<Obj>,

source§

impl<T> TkXFn for Twhere T: Into<Obj>,

§

type Output = TkX

source§

fn output(self) -> <T as TkXFn>::Output

source§

impl<T> TkXScrollCommandFn for Twhere T: Into<Obj>,

source§

impl<T> TkXScrollIncrementFn for Twhere T: Into<Obj>,

source§

impl<T> TkYFn for Twhere T: Into<Obj>,

§

type Output = TkY

source§

fn output(self) -> <T as TkYFn>::Output

source§

impl<T> TkYScrollCommandFn for Twhere T: Into<Obj>,

source§

impl<T> TkYScrollIncrementFn for Twhere T: Into<Obj>,

source§

impl<T> TkZoomFn for Twhere T: Into<Obj>,

§

type Output = TkZoom

source§

fn output(self) -> <T as TkZoomFn>::Output

source§

impl<T> TkZoomedFn for Twhere T: Into<Obj>,

source§

impl<Inner, Agent> ToLog<Agent> for Innerwhere Agent: LogAgent,

source§

fn new_log(self) -> Log<Inner, Agent>

source§

fn to_log(self, item: <Agent as LogAgent>::Item) -> Log<Inner, Agent>

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.