IntoFieldRef

Trait IntoFieldRef 

Source
pub trait IntoFieldRef {
    // Required method
    fn into_field_ref(self) -> FieldRef;
}
Expand description

Trait for converting a type into a [FieldRef]

Used to avoid having to call clone() on a FieldRef when adding a field to a ScalarStructBuilder.

TODO potentially upstream this to arrow-rs so that we can use impl Into<FieldRef> instead

Required Methods§

Source

fn into_field_ref(self) -> FieldRef

Implementations on Foreign Types§

Source§

impl IntoFieldRef for &FieldRef

Source§

fn into_field_ref(self) -> FieldRef

Source§

impl IntoFieldRef for Field

Source§

fn into_field_ref(self) -> FieldRef

Source§

impl IntoFieldRef for FieldRef

Source§

fn into_field_ref(self) -> FieldRef

Implementors§