Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Vec2Serde

Fully qualified path: cubit::f64::types::vec2::Vec2Serde

impl Vec2Serde of Serde<Vec2>;

Impl functions

serialize

Fully qualified path: cubit::f64::types::vec2::Vec2Serde::serialize

fn serialize(self: @Vec2, ref output: Array<felt252>)

deserialize

Fully qualified path: cubit::f64::types::vec2::Vec2Serde::deserialize

fn deserialize(ref serialized: Span<felt252>) -> Option<Vec2>