pub struct ContainerAttrsIr { /* private fields */ }Implementations§
Source§impl ContainerAttrsIr
impl ContainerAttrsIr
pub fn new( crate_path: Option<RustPathIr>, rename_all: Option<RenameRuleIr>, rename_all_fields: Option<RenameRuleIr>, parse_ext: bool, allow_unknown_fields: bool, allow_unknown_extensions: bool, parse_error: Option<RustPathIr>, write_error: Option<RustPathIr>, type_name: Option<String>, non_exhaustive: bool, proxy_target: Option<RustPathIr>, opaque_target: Option<RustPathIr>, ) -> Self
pub fn crate_path(&self) -> Option<&RustPathIr>
pub fn rename_all(&self) -> Option<RenameRuleIr>
pub fn rename_all_fields(&self) -> Option<RenameRuleIr>
pub fn parse_ext(&self) -> bool
pub fn allow_unknown_fields(&self) -> bool
pub fn allow_unknown_extensions(&self) -> bool
pub fn parse_error(&self) -> Option<&RustPathIr>
pub fn write_error(&self) -> Option<&RustPathIr>
pub fn type_name(&self) -> Option<&str>
pub fn non_exhaustive(&self) -> bool
pub fn proxy_target(&self) -> Option<&RustPathIr>
pub fn opaque_target(&self) -> Option<&RustPathIr>
pub fn proxy_mode(&self) -> Option<ProxyModeIr>
pub fn proxy_target_mut(&mut self) -> &mut Option<RustPathIr>
pub fn opaque_target_mut(&mut self) -> &mut Option<RustPathIr>
pub fn parse_ext_mut(&mut self) -> &mut bool
Trait Implementations§
Source§impl Clone for ContainerAttrsIr
impl Clone for ContainerAttrsIr
Source§fn clone(&self) -> ContainerAttrsIr
fn clone(&self) -> ContainerAttrsIr
Returns a duplicate of the value. Read more
1.0.0 · 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 ContainerAttrsIr
impl Debug for ContainerAttrsIr
Source§impl Default for ContainerAttrsIr
impl Default for ContainerAttrsIr
Source§fn default() -> ContainerAttrsIr
fn default() -> ContainerAttrsIr
Returns the “default value” for a type. Read more
Source§impl PartialEq for ContainerAttrsIr
impl PartialEq for ContainerAttrsIr
impl Eq for ContainerAttrsIr
impl StructuralPartialEq for ContainerAttrsIr
Auto Trait Implementations§
impl Freeze for ContainerAttrsIr
impl RefUnwindSafe for ContainerAttrsIr
impl Send for ContainerAttrsIr
impl Sync for ContainerAttrsIr
impl Unpin for ContainerAttrsIr
impl UnsafeUnpin for ContainerAttrsIr
impl UnwindSafe for ContainerAttrsIr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.