{"action":"opened","issue":{"url":"https://api.github.com/repos/nrc/rustfmt/issues/300","labels_url":"https://api.github.com/repos/nrc/rustfmt/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/nrc/rustfmt/issues/300/comments","events_url":"https://api.github.com/repos/nrc/rustfmt/issues/300/events","html_url":"https://github.com/nrc/rustfmt/issues/300","id":105734527,"number":300,"title":"(feature request) special alignment for C-style enums and struct members","user":{"login":"durka","id":47007,"avatar_url":"https://avatars.githubusercontent.com/u/47007?v=3","gravatar_id":"","url":"https://api.github.com/users/durka","html_url":"https://github.com/durka","followers_url":"https://api.github.com/users/durka/followers","following_url":"https://api.github.com/users/durka/following{/other_user}","gists_url":"https://api.github.com/users/durka/gists{/gist_id}","starred_url":"https://api.github.com/users/durka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durka/subscriptions","organizations_url":"https://api.github.com/users/durka/orgs","repos_url":"https://api.github.com/users/durka/repos","events_url":"https://api.github.com/users/durka/events{/privacy}","received_events_url":"https://api.github.com/users/durka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-10T05:30:52Z","updated_at":"2015-09-10T05:30:52Z","closed_at":null,"body":"It'd be nice to have an option to do formatting like this:\r\n\r\n```rust\r\nenum OniStatus {\r\n    Ok             = 0,\r\n    Error          = 1,\r\n    NotImplemented = 2,\r\n    NotSupported   = 3,\r\n    BadParameter   = 4,\r\n    OutOfFlow      = 5,\r\n    NoDevice       = 6,\r\n    TimeOut        = 102,\r\n}\r\n\r\npub struct OniVideoMode {\r\n    pub pixel_format: OniPixelFormat,\r\n    pub resolution_x: i32,\r\n    pub resolution_y: i32,\r\n    pub fps         : i32,\r\n}\r\n```"}}