Enum nu_data::base::shape::InlineShape [−][src]
pub enum InlineShape {
Show variants
Nothing,
Int(BigInt),
Decimal(BigDecimal),
Range(Box<InlineRange>),
Bytesize(BigInt),
String(String),
Line(String),
ColumnPath(ColumnPath),
GlobPattern(String),
Boolean(bool),
Date(DateTime<FixedOffset>),
Duration(BigInt),
FilePath(PathBuf),
Binary(usize),
Row(Row),
Table(Vec<InlineShape>),
Block,
Error,
BeginningOfStream,
EndOfStream,
}Variants
Int(BigInt)Decimal(BigDecimal)Range(Box<InlineRange>)Bytesize(BigInt)String(String)Line(String)ColumnPath(ColumnPath)GlobPattern(String)Boolean(bool)Date(DateTime<FixedOffset>)Duration(BigInt)FilePath(PathBuf)Binary(usize)Row(Row)Table(Vec<InlineShape>)Implementations
impl InlineShape[src]
impl InlineShape[src]pub fn from_primitive(primitive: &Primitive) -> InlineShape[src]
pub fn from_dictionary(dictionary: &Dictionary) -> InlineShape[src]
pub fn from_table<'a>(table: impl IntoIterator<Item = &'a Value>) -> InlineShape[src]
pub fn from_value<'a>(value: impl Into<&'a UntaggedValue>) -> InlineShape[src]
pub fn format_for_column(self, column: impl Into<Column>) -> FormatInlineShape[src]
pub fn format(self) -> FormatInlineShape[src]
pub fn format_bytes(
bytesize: &BigInt,
forced_format: Option<&str>
) -> (DbgDocBldr, String)[src]
bytesize: &BigInt,
forced_format: Option<&str>
) -> (DbgDocBldr, String)
pub fn render_doc(doc: &DebugDocBuilder) -> String[src]
Trait Implementations
impl Clone for InlineShape[src]
impl Clone for InlineShape[src]fn clone(&self) -> InlineShape[src]
fn clone(&self) -> InlineShape[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for InlineShape[src]
impl Debug for InlineShape[src]impl<'de> Deserialize<'de> for InlineShape[src]
impl<'de> Deserialize<'de> for InlineShape[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
impl Hash for InlineShape[src]
impl Hash for InlineShape[src]impl Ord for InlineShape[src]
impl Ord for InlineShape[src]impl PartialEq<InlineShape> for InlineShape[src]
impl PartialEq<InlineShape> for InlineShape[src]fn eq(&self, other: &InlineShape) -> bool[src]
fn eq(&self, other: &InlineShape) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &InlineShape) -> bool[src]
fn ne(&self, other: &InlineShape) -> bool[src]This method tests for !=.
impl PartialOrd<InlineShape> for InlineShape[src]
impl PartialOrd<InlineShape> for InlineShape[src]fn partial_cmp(&self, other: &InlineShape) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &InlineShape) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Serialize for InlineShape[src]
impl Serialize for InlineShape[src]impl Eq for InlineShape[src]
impl StructuralEq for InlineShape[src]
impl StructuralPartialEq for InlineShape[src]
Auto Trait Implementations
impl RefUnwindSafe for InlineShape
impl Send for InlineShape
impl Sync for InlineShape
impl Unpin for InlineShape
impl UnwindSafe for InlineShape
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[src]
pub fn equivalent(&self, key: &K) -> bool[src]Compare self to key and return true if they are equal.
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<T> SpannedItem for T[src]
impl<T> SpannedItem for T[src]impl<T> TaggedItem for T[src]
impl<T> TaggedItem for T[src]impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>, pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,