pub struct TextProjectionMetadata {
pub truncated: bool,
pub original_chars: usize,
pub projected_chars: usize,
pub original_lines: usize,
pub projected_lines: usize,
pub limit: usize,
pub limit_mode: String,
pub max_lines: usize,
}Fields§
§truncated: bool§original_chars: usize§projected_chars: usize§original_lines: usize§projected_lines: usize§limit: usize§limit_mode: String§max_lines: usizeTrait Implementations§
Source§impl Clone for TextProjectionMetadata
impl Clone for TextProjectionMetadata
Source§fn clone(&self) -> TextProjectionMetadata
fn clone(&self) -> TextProjectionMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextProjectionMetadata
impl Debug for TextProjectionMetadata
Source§impl Default for TextProjectionMetadata
impl Default for TextProjectionMetadata
Source§fn default() -> TextProjectionMetadata
fn default() -> TextProjectionMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextProjectionMetadata
impl<'de> Deserialize<'de> for TextProjectionMetadata
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TextProjectionMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TextProjectionMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TextProjectionMetadata
Source§impl PartialEq for TextProjectionMetadata
impl PartialEq for TextProjectionMetadata
Source§fn eq(&self, other: &TextProjectionMetadata) -> bool
fn eq(&self, other: &TextProjectionMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextProjectionMetadata
impl Serialize for TextProjectionMetadata
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TextProjectionMetadata
Auto Trait Implementations§
impl Freeze for TextProjectionMetadata
impl RefUnwindSafe for TextProjectionMetadata
impl Send for TextProjectionMetadata
impl Sync for TextProjectionMetadata
impl Unpin for TextProjectionMetadata
impl UnsafeUnpin for TextProjectionMetadata
impl UnwindSafe for TextProjectionMetadata
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
Mutably borrows from an owned value. Read more