pub struct TextFileContents(/* private fields */);Expand description
Expected byte contents for a whole text file or contained item.
Implementations§
Trait Implementations§
Source§impl Clone for TextFileContents
impl Clone for TextFileContents
Source§fn clone(&self) -> TextFileContents
fn clone(&self) -> TextFileContents
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 TextFileContents
impl Debug for TextFileContents
Source§impl Display for TextFileContents
impl Display for TextFileContents
impl Eq for TextFileContents
Source§impl FileItemRequirement for TextFileContents
impl FileItemRequirement for TextFileContents
type Identity = TextFileContents
fn merge_identity(&self) -> Self::Identity
fn compose_item( key: &str, items: Vec<ItemAssertionInput<Self>>, conflicts: &mut Vec<ConflictEntry>, ) -> Option<RequiredItemResolution<Self>>
Source§impl Ord for TextFileContents
impl Ord for TextFileContents
Source§fn cmp(&self, other: &TextFileContents) -> Ordering
fn cmp(&self, other: &TextFileContents) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TextFileContents
impl PartialEq for TextFileContents
Source§impl PartialOrd for TextFileContents
impl PartialOrd for TextFileContents
Source§impl ScalarValue for TextFileContents
impl ScalarValue for TextFileContents
impl StructuralPartialEq for TextFileContents
Auto Trait Implementations§
impl Freeze for TextFileContents
impl RefUnwindSafe for TextFileContents
impl Send for TextFileContents
impl Sync for TextFileContents
impl Unpin for TextFileContents
impl UnsafeUnpin for TextFileContents
impl UnwindSafe for TextFileContents
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