pub struct GraduationState { /* private fields */ }Expand description
Graduation queue for 0.x packages.
File: .changeset/graduation.toml
Format:
graduation = ["crate-a", "crate-b"]Implementations§
Source§impl GraduationState
impl GraduationState
pub fn new() -> Self
pub fn add(&mut self, crate_name: String)
pub fn remove(&mut self, crate_name: &str) -> bool
pub fn contains(&self, crate_name: &str) -> bool
pub fn iter(&self) -> impl Iterator<Item = &str>
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
Trait Implementations§
Source§impl Clone for GraduationState
impl Clone for GraduationState
Source§fn clone(&self) -> GraduationState
fn clone(&self) -> GraduationState
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 GraduationState
impl Debug for GraduationState
Source§impl Default for GraduationState
impl Default for GraduationState
Source§fn default() -> GraduationState
fn default() -> GraduationState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraduationState
impl<'de> Deserialize<'de> for GraduationState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GraduationState
impl PartialEq for GraduationState
Source§impl Serialize for GraduationState
impl Serialize for GraduationState
impl Eq for GraduationState
impl StructuralPartialEq for GraduationState
Auto Trait Implementations§
impl Freeze for GraduationState
impl RefUnwindSafe for GraduationState
impl Send for GraduationState
impl Sync for GraduationState
impl Unpin for GraduationState
impl UnsafeUnpin for GraduationState
impl UnwindSafe for GraduationState
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