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
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<NavScroll, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<NavScroll, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for NavScroll
impl UnwindSafe for NavScroll
Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
pub fn get_type_id(&self) -> TypeId
Mutably borrows from an owned value. Read more