pub enum RWrapperPriority {
Sidecar,
Class,
Function,
TraitImpl,
Vctrs,
Reexport,
}Expand description
Ordering priority for R wrapper code fragments.
Variant declaration order = output order. The order matters because R evaluates the wrapper file top-to-bottom, so dependencies must come first: sidecar accessors before class definitions, classes before functions, etc.
Variants§
Sidecar
#[r_data] getters/setters — must come before class definitions.
Class
Class definitions (impl blocks: env/R6/S3/S4/S7).
Function
Standalone #[miniextendr] functions.
TraitImpl
Trait impl wrappers (impl Trait for Type).
Vctrs
Vctrs S3 method wrappers (#[derive(Vctrs)]).
Reexport
The re-export blocks of reexport! (#1910). They bind nothing, so
their place is free; last keeps them together.
Trait Implementations§
Source§impl Clone for RWrapperPriority
impl Clone for RWrapperPriority
impl Copy for RWrapperPriority
Source§impl Eq for RWrapperPriority
impl Eq for RWrapperPriority
1.0.0 (const: unstable) · Source§#[doc(hidden)]fn assert_receiver_is_total_eq(&self)
#[doc(hidden)]fn assert_receiver_is_total_eq(&self)
implementation detail of #[derive(Eq)]
Source§#[doc(hidden)]fn assert_fields_are_eq(&self)
#[doc(hidden)]fn assert_fields_are_eq(&self)
derive_eq_internals)Source§impl Ord for RWrapperPriority
impl Ord for RWrapperPriority
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for RWrapperPriority
impl PartialEq for RWrapperPriority
Source§impl PartialOrd for RWrapperPriority
impl PartialOrd for RWrapperPriority
Source§fn partial_cmp(&self, other: &Self) -> Option<Ordering>
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
Source§#[doc(hidden)]fn __chaining_less(&self, other: &Rhs) -> ControlFlow<bool>
#[doc(hidden)]fn __chaining_less(&self, other: &Rhs) -> ControlFlow<bool>
partial_ord_chaining_methods)self == other, returns Continue(()).
Otherwise, returns Break(self < other), or equivalently Break(self <= other).
The only difference when chaining < and <= is how an equality result is
interpreted at the end of the chain. Read moreSource§#[doc(hidden)]fn __chaining_greater(&self, other: &Rhs) -> ControlFlow<bool>
#[doc(hidden)]fn __chaining_greater(&self, other: &Rhs) -> ControlFlow<bool>
partial_ord_chaining_methods)__chaining_less, but for >/>= instead of </<=.impl StructuralPartialEq for RWrapperPriority
impl TrivialClone for RWrapperPriority
Auto Trait Implementations§
impl Forget for RWrapperPriority
impl Freeze for RWrapperPriority
impl RefUnwindSafe for RWrapperPriority
impl Send for RWrapperPriority
impl Sync for RWrapperPriority
impl Unpin for RWrapperPriority
impl UnsafeUnpin for RWrapperPriority
impl UnwindSafe for RWrapperPriority
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ConsumingFallible for Twhere
T: Clone,
Source§impl<T> RCopy for Twhere
T: Copy,
impl<T> RCopy for Twhere
T: Copy,
Source§impl<T> RPartialOrd for Twhere
T: PartialOrd,
impl<T> RPartialOrd for Twhere
T: PartialOrd,
Source§fn r_partial_cmp(&self, other: &T) -> Option<i32>
fn r_partial_cmp(&self, other: &T) -> Option<i32>
Source§impl<T> SizeHint for Twhere
T: ?Sized,
impl<T> SizeHint for Twhere
T: ?Sized,
Source§default fn lower_bound(&self) -> usize
default fn lower_bound(&self) -> usize
core_io_internals)[u8; 12] could return any value between 0 and
12 inclusively as a correct implementation. Read moreSource§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)]const SIZE: usize
#[doc(hidden)]const SIZE: usize
sized_type_properties)Source§#[doc(hidden)]const ALIGN: usize
#[doc(hidden)]const ALIGN: usize
sized_type_properties)Source§#[doc(hidden)]const ALIGNMENT: Alignment
#[doc(hidden)]const ALIGNMENT: Alignment
ptr_alignment_type)Source§#[doc(hidden)]const IS_ZST: bool
#[doc(hidden)]const IS_ZST: bool
sized_type_properties)Source§#[doc(hidden)]const LAYOUT: Layout
#[doc(hidden)]const LAYOUT: Layout
sized_type_properties)Source§#[doc(hidden)]const MAX_SLICE_LEN: usize
#[doc(hidden)]const MAX_SLICE_LEN: usize
sized_type_properties)[Self]. Read moreLayout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Sidecar: 0 bytesClass: 0 bytesFunction: 0 bytesTraitImpl: 0 bytesVctrs: 0 bytesReexport: 0 bytes