Enum ByOption
pub enum ByOption<Via> {
_Phantom(PhantomData<Via>),
}Expand description
Pass optional arguments by returning Option<&T::Via>, allowing delegation to underlying type’s strategy.
This enables Option<T> to benefit from the underlying type’s efficient passing without cloning. ByRef doesn’t support this because it
would transform Option<T> to &Option<T>; however, we need Option<&T> instead.
See ToGodot::Pass.