[−][src]Struct tuifw::view::View
Implementations
impl View
[src]
pub fn new<Tag: ComponentId, T>(
tree: &mut ViewTree,
parent: View,
tag: impl FnOnce(View) -> (Tag, T)
) -> T
[src]
tree: &mut ViewTree,
parent: View,
tag: impl FnOnce(View) -> (Tag, T)
) -> T
pub fn tag<Tag: ComponentId>(self, tree: &ViewTree) -> Tag
[src]
pub fn build<'a>(
self,
context: &'a mut dyn Context,
f: impl FnOnce(ViewBuilder<'a>) -> ViewBuilder<'a>
)
[src]
self,
context: &'a mut dyn Context,
f: impl FnOnce(ViewBuilder<'a>) -> ViewBuilder<'a>
)
pub fn focus(self, tree: &mut ViewTree) -> View
[src]
pub fn unset_decorator(self, tree: &mut ViewTree)
[src]
pub fn set_decorator<D: Decorator>(self, tree: &mut ViewTree, decorator: D)
[src]
pub fn unset_layout(self, tree: &mut ViewTree)
[src]
pub fn set_layout<L: Layout>(self, tree: &mut ViewTree, layout: L)
[src]
pub fn unset_panel(self, tree: &mut ViewTree)
[src]
pub fn set_panel<P: Panel>(self, tree: &mut ViewTree, panel: P)
[src]
pub fn parent(self, tree: &ViewTree) -> Option<View>
[src]
pub fn self_and_parents<'a>(
self,
tree: &'a ViewTree
) -> impl Iterator<Item = View> + 'a
[src]
self,
tree: &'a ViewTree
) -> impl Iterator<Item = View> + 'a
pub fn last_child(self, tree: &ViewTree) -> Option<View>
[src]
pub fn next(self, tree: &ViewTree) -> View
[src]
pub fn children<'a>(self, tree: &'a ViewTree) -> impl Iterator<Item = View> + 'a
[src]
pub fn desired_size(self, tree: &ViewTree) -> Vector
[src]
pub fn render_bounds(self, tree: &ViewTree) -> Rect
[src]
pub fn actual_fg(self, tree: &ViewTree) -> Color
[src]
pub fn actual_bg(self, tree: &ViewTree) -> Option<Color>
[src]
pub fn actual_attr(self, tree: &ViewTree) -> Attr
[src]
pub fn base_get<DepObjValueType: DepPropType>(
self,
tree: &ViewTree,
prop: DepProp<ViewBase, DepObjValueType>
) -> &DepObjValueType
[src]
self,
tree: &ViewTree,
prop: DepProp<ViewBase, DepObjValueType>
) -> &DepObjValueType
pub fn base_set_uncond<DepObjValueType: DepPropType>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewBase, DepObjValueType>,
value: DepObjValueType
) -> DepObjValueType
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewBase, DepObjValueType>,
value: DepObjValueType
) -> DepObjValueType
pub fn base_unset_uncond<DepObjValueType: DepPropType>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewBase, DepObjValueType>
) -> std_option_Option<DepObjValueType>
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewBase, DepObjValueType>
) -> std_option_Option<DepObjValueType>
pub fn base_set_distinct<DepObjValueType: DepPropType + std_cmp_PartialEq>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewBase, DepObjValueType>,
value: DepObjValueType
) -> std_option_Option<DepObjValueType>
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewBase, DepObjValueType>,
value: DepObjValueType
) -> std_option_Option<DepObjValueType>
pub fn base_unset_distinct<DepObjValueType: DepPropType + std_cmp_PartialEq>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewBase, DepObjValueType>
) -> std_option_Option<DepObjValueType>
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewBase, DepObjValueType>
) -> std_option_Option<DepObjValueType>
pub fn base_on_changed<DepObjValueType: DepPropType>(
self,
tree: &mut ViewTree,
prop: DepProp<ViewBase, DepObjValueType>,
on_changed: fn(context: &mut dyn dyn_context_Context, id: Self, old: &DepObjValueType)
)
[src]
self,
tree: &mut ViewTree,
prop: DepProp<ViewBase, DepObjValueType>,
on_changed: fn(context: &mut dyn dyn_context_Context, id: Self, old: &DepObjValueType)
)
pub fn base_raise<DepEventArgsType>(
self,
context: &mut dyn dyn_context_Context,
event: DepEvent<ViewBase, DepEventArgsType>,
args: &mut DepEventArgsType
)
[src]
self,
context: &mut dyn dyn_context_Context,
event: DepEvent<ViewBase, DepEventArgsType>,
args: &mut DepEventArgsType
)
pub fn base_on<DepEventArgsType>(
self,
tree: &mut ViewTree,
event: DepEvent<ViewBase, DepEventArgsType>,
on_raised: fn(context: &mut dyn dyn_context_Context, id: Self, args: &mut DepEventArgsType)
)
[src]
self,
tree: &mut ViewTree,
event: DepEvent<ViewBase, DepEventArgsType>,
on_raised: fn(context: &mut dyn dyn_context_Context, id: Self, args: &mut DepEventArgsType)
)
pub fn base_apply_style(
self,
context: &mut dyn dyn_context_Context,
style: std_option_Option<Style<ViewBase>>
) -> std_option_Option<Style<ViewBase>>
[src]
self,
context: &mut dyn dyn_context_Context,
style: std_option_Option<Style<ViewBase>>
) -> std_option_Option<Style<ViewBase>>
pub fn align_get<DepObjValueType: DepPropType>(
self,
tree: &ViewTree,
prop: DepProp<ViewAlign, DepObjValueType>
) -> &DepObjValueType
[src]
self,
tree: &ViewTree,
prop: DepProp<ViewAlign, DepObjValueType>
) -> &DepObjValueType
pub fn align_set_uncond<DepObjValueType: DepPropType>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewAlign, DepObjValueType>,
value: DepObjValueType
) -> DepObjValueType
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewAlign, DepObjValueType>,
value: DepObjValueType
) -> DepObjValueType
pub fn align_unset_uncond<DepObjValueType: DepPropType>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewAlign, DepObjValueType>
) -> std_option_Option<DepObjValueType>
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewAlign, DepObjValueType>
) -> std_option_Option<DepObjValueType>
pub fn align_set_distinct<DepObjValueType: DepPropType + std_cmp_PartialEq>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewAlign, DepObjValueType>,
value: DepObjValueType
) -> std_option_Option<DepObjValueType>
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewAlign, DepObjValueType>,
value: DepObjValueType
) -> std_option_Option<DepObjValueType>
pub fn align_unset_distinct<DepObjValueType: DepPropType + std_cmp_PartialEq>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewAlign, DepObjValueType>
) -> std_option_Option<DepObjValueType>
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<ViewAlign, DepObjValueType>
) -> std_option_Option<DepObjValueType>
pub fn align_on_changed<DepObjValueType: DepPropType>(
self,
tree: &mut ViewTree,
prop: DepProp<ViewAlign, DepObjValueType>,
on_changed: fn(context: &mut dyn dyn_context_Context, id: Self, old: &DepObjValueType)
)
[src]
self,
tree: &mut ViewTree,
prop: DepProp<ViewAlign, DepObjValueType>,
on_changed: fn(context: &mut dyn dyn_context_Context, id: Self, old: &DepObjValueType)
)
pub fn align_raise<DepEventArgsType>(
self,
context: &mut dyn dyn_context_Context,
event: DepEvent<ViewAlign, DepEventArgsType>,
args: &mut DepEventArgsType
)
[src]
self,
context: &mut dyn dyn_context_Context,
event: DepEvent<ViewAlign, DepEventArgsType>,
args: &mut DepEventArgsType
)
pub fn align_on<DepEventArgsType>(
self,
tree: &mut ViewTree,
event: DepEvent<ViewAlign, DepEventArgsType>,
on_raised: fn(context: &mut dyn dyn_context_Context, id: Self, args: &mut DepEventArgsType)
)
[src]
self,
tree: &mut ViewTree,
event: DepEvent<ViewAlign, DepEventArgsType>,
on_raised: fn(context: &mut dyn dyn_context_Context, id: Self, args: &mut DepEventArgsType)
)
pub fn align_apply_style(
self,
context: &mut dyn dyn_context_Context,
style: std_option_Option<Style<ViewAlign>>
) -> std_option_Option<Style<ViewAlign>>
[src]
self,
context: &mut dyn dyn_context_Context,
style: std_option_Option<Style<ViewAlign>>
) -> std_option_Option<Style<ViewAlign>>
pub fn decorator_get<Owner: Decorator + DepType<Id = Self>, DepObjValueType: DepPropType>(
self,
tree: &ViewTree,
prop: DepProp<Owner, DepObjValueType>
) -> &DepObjValueType
[src]
self,
tree: &ViewTree,
prop: DepProp<Owner, DepObjValueType>
) -> &DepObjValueType
pub fn decorator_set_uncond<Owner: Decorator + DepType<Id = Self>, DepObjValueType: DepPropType>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>,
value: DepObjValueType
) -> DepObjValueType
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>,
value: DepObjValueType
) -> DepObjValueType
pub fn decorator_unset_uncond<Owner: Decorator + DepType<Id = Self>, DepObjValueType: DepPropType>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>
) -> std_option_Option<DepObjValueType>
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>
) -> std_option_Option<DepObjValueType>
pub fn decorator_set_distinct<Owner: Decorator + DepType<Id = Self>, DepObjValueType: DepPropType + std_cmp_PartialEq>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>,
value: DepObjValueType
) -> std_option_Option<DepObjValueType>
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>,
value: DepObjValueType
) -> std_option_Option<DepObjValueType>
pub fn decorator_unset_distinct<Owner: Decorator + DepType<Id = Self>, DepObjValueType: DepPropType + std_cmp_PartialEq>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>
) -> std_option_Option<DepObjValueType>
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>
) -> std_option_Option<DepObjValueType>
pub fn decorator_on_changed<Owner: Decorator + DepType<Id = Self>, DepObjValueType: DepPropType>(
self,
tree: &mut ViewTree,
prop: DepProp<Owner, DepObjValueType>,
on_changed: fn(context: &mut dyn dyn_context_Context, id: Self, old: &DepObjValueType)
)
[src]
self,
tree: &mut ViewTree,
prop: DepProp<Owner, DepObjValueType>,
on_changed: fn(context: &mut dyn dyn_context_Context, id: Self, old: &DepObjValueType)
)
pub fn decorator_raise<Owner: Decorator + DepType<Id = Self>, DepEventArgsType>(
self,
context: &mut dyn dyn_context_Context,
event: DepEvent<Owner, DepEventArgsType>,
args: &mut DepEventArgsType
)
[src]
self,
context: &mut dyn dyn_context_Context,
event: DepEvent<Owner, DepEventArgsType>,
args: &mut DepEventArgsType
)
pub fn decorator_on<Owner: Decorator + DepType<Id = Self>, DepEventArgsType>(
self,
tree: &mut ViewTree,
event: DepEvent<Owner, DepEventArgsType>,
on_raised: fn(context: &mut dyn dyn_context_Context, id: Self, args: &mut DepEventArgsType)
)
[src]
self,
tree: &mut ViewTree,
event: DepEvent<Owner, DepEventArgsType>,
on_raised: fn(context: &mut dyn dyn_context_Context, id: Self, args: &mut DepEventArgsType)
)
pub fn decorator_apply_style<Owner: Decorator + DepType<Id = Self>>(
self,
context: &mut dyn dyn_context_Context,
style: std_option_Option<Style<Owner>>
) -> std_option_Option<Style<Owner>>
[src]
self,
context: &mut dyn dyn_context_Context,
style: std_option_Option<Style<Owner>>
) -> std_option_Option<Style<Owner>>
pub fn layout_get<Owner: Layout + DepType<Id = Self>, DepObjValueType: DepPropType>(
self,
tree: &ViewTree,
prop: DepProp<Owner, DepObjValueType>
) -> &DepObjValueType
[src]
self,
tree: &ViewTree,
prop: DepProp<Owner, DepObjValueType>
) -> &DepObjValueType
pub fn layout_set_uncond<Owner: Layout + DepType<Id = Self>, DepObjValueType: DepPropType>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>,
value: DepObjValueType
) -> DepObjValueType
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>,
value: DepObjValueType
) -> DepObjValueType
pub fn layout_unset_uncond<Owner: Layout + DepType<Id = Self>, DepObjValueType: DepPropType>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>
) -> std_option_Option<DepObjValueType>
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>
) -> std_option_Option<DepObjValueType>
pub fn layout_set_distinct<Owner: Layout + DepType<Id = Self>, DepObjValueType: DepPropType + std_cmp_PartialEq>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>,
value: DepObjValueType
) -> std_option_Option<DepObjValueType>
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>,
value: DepObjValueType
) -> std_option_Option<DepObjValueType>
pub fn layout_unset_distinct<Owner: Layout + DepType<Id = Self>, DepObjValueType: DepPropType + std_cmp_PartialEq>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>
) -> std_option_Option<DepObjValueType>
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>
) -> std_option_Option<DepObjValueType>
pub fn layout_on_changed<Owner: Layout + DepType<Id = Self>, DepObjValueType: DepPropType>(
self,
tree: &mut ViewTree,
prop: DepProp<Owner, DepObjValueType>,
on_changed: fn(context: &mut dyn dyn_context_Context, id: Self, old: &DepObjValueType)
)
[src]
self,
tree: &mut ViewTree,
prop: DepProp<Owner, DepObjValueType>,
on_changed: fn(context: &mut dyn dyn_context_Context, id: Self, old: &DepObjValueType)
)
pub fn layout_raise<Owner: Layout + DepType<Id = Self>, DepEventArgsType>(
self,
context: &mut dyn dyn_context_Context,
event: DepEvent<Owner, DepEventArgsType>,
args: &mut DepEventArgsType
)
[src]
self,
context: &mut dyn dyn_context_Context,
event: DepEvent<Owner, DepEventArgsType>,
args: &mut DepEventArgsType
)
pub fn layout_on<Owner: Layout + DepType<Id = Self>, DepEventArgsType>(
self,
tree: &mut ViewTree,
event: DepEvent<Owner, DepEventArgsType>,
on_raised: fn(context: &mut dyn dyn_context_Context, id: Self, args: &mut DepEventArgsType)
)
[src]
self,
tree: &mut ViewTree,
event: DepEvent<Owner, DepEventArgsType>,
on_raised: fn(context: &mut dyn dyn_context_Context, id: Self, args: &mut DepEventArgsType)
)
pub fn layout_apply_style<Owner: Layout + DepType<Id = Self>>(
self,
context: &mut dyn dyn_context_Context,
style: std_option_Option<Style<Owner>>
) -> std_option_Option<Style<Owner>>
[src]
self,
context: &mut dyn dyn_context_Context,
style: std_option_Option<Style<Owner>>
) -> std_option_Option<Style<Owner>>
pub fn panel_get<Owner: Panel + DepType<Id = Self>, DepObjValueType: DepPropType>(
self,
tree: &ViewTree,
prop: DepProp<Owner, DepObjValueType>
) -> &DepObjValueType
[src]
self,
tree: &ViewTree,
prop: DepProp<Owner, DepObjValueType>
) -> &DepObjValueType
pub fn panel_set_uncond<Owner: Panel + DepType<Id = Self>, DepObjValueType: DepPropType>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>,
value: DepObjValueType
) -> DepObjValueType
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>,
value: DepObjValueType
) -> DepObjValueType
pub fn panel_unset_uncond<Owner: Panel + DepType<Id = Self>, DepObjValueType: DepPropType>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>
) -> std_option_Option<DepObjValueType>
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>
) -> std_option_Option<DepObjValueType>
pub fn panel_set_distinct<Owner: Panel + DepType<Id = Self>, DepObjValueType: DepPropType + std_cmp_PartialEq>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>,
value: DepObjValueType
) -> std_option_Option<DepObjValueType>
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>,
value: DepObjValueType
) -> std_option_Option<DepObjValueType>
pub fn panel_unset_distinct<Owner: Panel + DepType<Id = Self>, DepObjValueType: DepPropType + std_cmp_PartialEq>(
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>
) -> std_option_Option<DepObjValueType>
[src]
self,
context: &mut dyn dyn_context_Context,
prop: DepProp<Owner, DepObjValueType>
) -> std_option_Option<DepObjValueType>
pub fn panel_on_changed<Owner: Panel + DepType<Id = Self>, DepObjValueType: DepPropType>(
self,
tree: &mut ViewTree,
prop: DepProp<Owner, DepObjValueType>,
on_changed: fn(context: &mut dyn dyn_context_Context, id: Self, old: &DepObjValueType)
)
[src]
self,
tree: &mut ViewTree,
prop: DepProp<Owner, DepObjValueType>,
on_changed: fn(context: &mut dyn dyn_context_Context, id: Self, old: &DepObjValueType)
)
pub fn panel_raise<Owner: Panel + DepType<Id = Self>, DepEventArgsType>(
self,
context: &mut dyn dyn_context_Context,
event: DepEvent<Owner, DepEventArgsType>,
args: &mut DepEventArgsType
)
[src]
self,
context: &mut dyn dyn_context_Context,
event: DepEvent<Owner, DepEventArgsType>,
args: &mut DepEventArgsType
)
pub fn panel_on<Owner: Panel + DepType<Id = Self>, DepEventArgsType>(
self,
tree: &mut ViewTree,
event: DepEvent<Owner, DepEventArgsType>,
on_raised: fn(context: &mut dyn dyn_context_Context, id: Self, args: &mut DepEventArgsType)
)
[src]
self,
tree: &mut ViewTree,
event: DepEvent<Owner, DepEventArgsType>,
on_raised: fn(context: &mut dyn dyn_context_Context, id: Self, args: &mut DepEventArgsType)
)
pub fn panel_apply_style<Owner: Panel + DepType<Id = Self>>(
self,
context: &mut dyn dyn_context_Context,
style: std_option_Option<Style<Owner>>
) -> std_option_Option<Style<Owner>>
[src]
self,
context: &mut dyn dyn_context_Context,
style: std_option_Option<Style<Owner>>
) -> std_option_Option<Style<Owner>>
#[must_use]pub fn invalidate_rect(self, tree: &mut ViewTree, rect: Rect) -> Option<()>
[src]
#[must_use]pub fn invalidate_render(self, tree: &mut ViewTree) -> Option<()>
[src]
pub fn invalidate_measure(self, tree: &mut ViewTree)
[src]
pub fn invalidate_arrange(self, tree: &mut ViewTree)
[src]
pub fn measure(self, tree: &mut ViewTree, size: (Option<i16>, Option<i16>))
[src]
pub fn arrange(self, tree: &mut ViewTree, rect: Rect)
[src]
Trait Implementations
impl Clone for View
[src]
impl ComponentId for View
[src]
impl Copy for View
[src]
impl Debug for View
[src]
impl<'a> DepObjBuilderCore<View> for ViewBuilder<'a>
[src]
fn id(&self) -> View
[src]
fn context(&self) -> &dyn Context
[src]
fn context_mut(&mut self) -> &mut dyn Context
[src]
impl Eq for View
[src]
impl Hash for View
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for View
[src]
fn cmp(&self, other: &View) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<View> for View
[src]
impl PartialOrd<View> for View
[src]
fn partial_cmp(&self, other: &View) -> Option<Ordering>
[src]
fn lt(&self, other: &View) -> bool
[src]
fn le(&self, other: &View) -> bool
[src]
fn gt(&self, other: &View) -> bool
[src]
fn ge(&self, other: &View) -> bool
[src]
impl StructuralEq for View
[src]
impl StructuralPartialEq for View
[src]
Auto Trait Implementations
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnwindSafe for View
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<PropType> DepPropType for PropType where
PropType: 'static + Clone + Send + Sync + Debug,
[src]
PropType: 'static + Clone + Send + Sync + Debug,
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
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.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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.
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>,