Enum oxygengine_user_interface::widget::component::interactive::navigation::NavScroll [−][src]
pub enum NavScroll {
Factor(Vec2, bool),
DirectFactor(WidgetIdOrRef, Vec2, bool),
Units(Vec2, bool),
DirectUnits(WidgetIdOrRef, Vec2, bool),
Widget(WidgetIdOrRef, Vec2),
Change(Vec2, Vec2, bool),
}Variants
(factor location, relative)
DirectFactor(WidgetIdOrRef, Vec2, bool)(scroll view id or ref, factor location, relative)
(local space units location, relative)
DirectUnits(WidgetIdOrRef, Vec2, bool)(scroll view id or ref, local space units location, relative)
Widget(WidgetIdOrRef, Vec2)(id or ref, widget local space anchor point)
(factor, content to container ratio, relative)
Trait Implementations
impl<'de> Deserialize<'de> for NavScroll[src]
impl<'de> Deserialize<'de> for NavScroll[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<NavScroll, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, [src]
__deserializer: __D
) -> Result<NavScroll, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Serialize for NavScroll[src]
impl Serialize for NavScroll[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, [src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl RefUnwindSafe for NavScroll
impl RefUnwindSafe for NavScrollimpl UnwindSafe for NavScroll
impl UnwindSafe for NavScrollBlanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any, pub fn get_type_id(&self) -> TypeId
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]